Difference between revisions of "Template:Article Year"

From PUBLIC DOMAIN PROJECT
Jump to: navigation, search
Line 10: Line 10:
 
{{YearHeadArticle}}
 
{{YearHeadArticle}}
  
[[{{#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}}. Jahrhundert }}|◄]] |
+
[[{{#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)}}. century BC |{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100}}. century }}]] |
+
[[{{#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}}. century]]'''
+
'''[[{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+1}} century]]'''
{{#ifexpr: {{PAGENAME}}<2001 |{{!}} [[{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+2}}. century|{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+2}}. century]] |&nbsp; }}
+
{{#ifexpr: {{PAGENAME}}<2001 |{{!}} [[{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+2}} century|{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+2}} century]] |&nbsp; }}
{{#ifexpr: {{PAGENAME}}<1901 |{{!}} [[{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+3}}. century|►]] |&nbsp; }}<!--
+
{{#ifexpr: {{PAGENAME}}<1901 |{{!}} [[{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+3}} century|►]] |&nbsp; }}<!--
 
--><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 17:13, 9 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