Difference between revisions of "Template:Article Year"
From PUBLIC DOMAIN PROJECT MEDIAPOOL
m (Protected "Template:Article Year" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading]) |
|||
Line 10: | Line 10: | ||
{{YearHeadArticle}} | {{YearHeadArticle}} | ||
− | [[{{#ifexpr: {{PAGENAME}}-1-({{PAGENAME}}-1)mod100<200 |{{#expr:(({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100-2)*(-1)}} | + | [[{{#ifexpr: {{PAGENAME}}-1-({{PAGENAME}}-1)mod100<200 |{{#expr:(({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100-2)*(-1)}} century BC |{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100-1}} century }}|◄]] | |
− | [[{{#ifexpr: {{PAGENAME}}-1-({{PAGENAME}}-1)mod100<100 |{{#expr:(({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100-1)*(-1)}} | + | [[{{#ifexpr: {{PAGENAME}}-1-({{PAGENAME}}-1)mod100<100 |{{#expr:(({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100-1)*(-1)}} century BC |{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100}} century }}]] | |
− | '''[[{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+1}} | + | '''[[{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+1}} century]]''' |
− | {{#ifexpr: {{PAGENAME}}<2001 |{{!}} [[{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+2}} | + | {{#ifexpr: {{PAGENAME}}<2001 |{{!}} [[{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+2}} century|{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+2}} century]] | }} |
− | {{#ifexpr: {{PAGENAME}}<1901 |{{!}} [[{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+3}} | + | {{#ifexpr: {{PAGENAME}}<1901 |{{!}} [[{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+3}} century|►]] | }}<!-- |
--><br/> | --><br/> | ||
[[{{#ifexpr: {{PAGENAME}}-{{PAGENAME}}mod10<40 |{{#expr:({{PAGENAME}}-{{PAGENAME}}mod10-30)*(-1)+0}}s BC |{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10-40}}s }}|◄]] | | [[{{#ifexpr: {{PAGENAME}}-{{PAGENAME}}mod10<40 |{{#expr:({{PAGENAME}}-{{PAGENAME}}mod10-30)*(-1)+0}}s BC |{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10-40}}s }}|◄]] | |
Revision as of 15:54, 14 January 2012
This template is a navigation bar for Articles (Year) after Christ (Overview: List of centuries). Please use as follows:
{{Article Year}}
For articles dated before Christ please use the Template:Article Year BC