Difference between revisions of "Template:Article Year"
From PUBLIC DOMAIN PROJECT
(4 intermediate revisions by the same user not shown) | |||
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 }}|◄]] | | ||
Line 59: | Line 59: | ||
</div> | </div> | ||
}} }} | }} }} | ||
− | [[Category: | + | <!-- [[Category:Years ({{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+1}} century)|#{{#ifexpr: {{PAGENAME}}<1000 |0 }}{{#ifexpr: {{PAGENAME}}<100 |0 }}{{#ifexpr: {{PAGENAME}}<10 |0 }}{{PAGENAME}}]] --> |
[[Category:{{PAGENAME}}| ]] | [[Category:{{PAGENAME}}| ]] | ||
</includeonly> | </includeonly> |
Latest revision as of 16:08, 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