Template:Year article header: Difference between revisions

From LPedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
<!-- Test for past vs present vs future -->{{#ifeq: {{#expr:{{#time:Y}} < {{{1|{{CURRENTYEAR}}}}}}} | 0 | {{#ifeq: {{#expr:{{#time:Y}} > {{{1|{{CURRENTYEAR}}}}}}} | 0 | is the current year, and is | was }} | will be }} {{Year article header/zc|{{{1|{{CURRENTYEAR}}}}}}}.
<!-- Test for past vs present vs future -->{{#ifeq: {{#expr:{{#time:Y}} < {{{1|{{CURRENTYEAR}}}}}}} | 0 | {{#ifeq: {{#expr:{{#time:Y}} > {{{1|{{CURRENTYEAR}}}}}}} | 0 | is the current year, and is | was }} | will be }} {{Year article header/zc|{{{1|{{CURRENTYEAR}}}}}}}.
}}}}</includeonly><noinclude>
}}}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}} [[Category:Templates]]
</noinclude>
</noinclude>


[[Category: Templates]]
[[Category:Years]]

Revision as of 20:51, 10 November 2020

Template documentation (for the above template, sometimes hidden or invisible)
This article uses material from the Wikipedia article article header Template:Year article header, which is released under the Creative Commons Attribution-ShareAlike 3.0 Unported License (view authors). Wikipedia logo