Template:Year article header: Difference between revisions

From LPedia
Jump to navigation Jump to search
(links)
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>'''{{{1|{{CURRENTYEAR}}}}} {{#ifeq:{{#expr:{{{1|{{CURRENTYEAR}}}}}>=0}}|1|([[Roman numerals|{{Roman|{{{1|{{CURRENTYEAR}}}}}|Roman numeral out of range}}]])|}}'''
<includeonly>'''{{{1|{{CURRENTYEAR}}}}} {{#ifeq:{{#expr:{{{1|{{CURRENTYEAR}}}}}>=0}}|1|([[wikipedia:Roman numerals|{{Roman|{{{1|{{CURRENTYEAR}}}}}|Roman numeral out of range}}]])|}}'''
{{#ifeq: {{#expr:{{{1|{{CURRENTYEAR}}}}}>1582}}|0
{{#ifeq: {{#expr:{{{1|{{CURRENTYEAR}}}}}>1582}}|0
|<!-- Years On or Before 1582 -->
|<!-- Years On or Before 1582 -->
Line 13: Line 13:
|<!-- 1924 and later-->
|<!-- 1924 and later-->
<!-- 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>
}}}}[[Category:{{PAGENAME}}]]</includeonly><noinclude>
{{Documentation}}
{{Documentation}} [[Category:Templates]]
</noinclude>
</noinclude>
[[Category:Years]]

Latest revision as of 01:27, 24 November 2021

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