Template:As of: Difference between revisions

no edit summary
(better handling of deprecated format (for use as meta-template))
No edit summary
Line 1:
<includeonly><!--
 
## param 1 is the year (or month-year conjugation for backwards compatibility, deprecated)
## optional param 2 is the month
## optional param 3 is the day of the month
Line 22:
 
## temporal category for template (parameter method)
-->{{#ifexpr: {{{1}}} > 2004 | from {{#if:{{{2|}}} | {{MONTHNAME|{{{2}}}}} }} {{{1}}} | {{#ifexpr:{{{1}}} > 1989 | from {{{1}}} | {{#ifexpr:{{{1}}} > 1900 | from the twentieth century| }}}}}}}} ]]<!--
 
## global category for template