Difference between revisions of "Template:Article Year"

From PUBLIC DOMAIN PROJECT
Jump to: navigation, search
(Created page with "<noinclude> This template is a navigation bar for Articles (Year) '''after''' Christ (Overview: List of centuries). Please use as follows: <code><nowiki>{{Article Year}}</no...")
 
 
(7 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)}}. 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 }}|◄]] |
Line 59: Line 59:
 
</div>
 
</div>
 
}} }}
 
}} }}
[[Kategorie:Year ({{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+1}}. century)|#{{#ifexpr: {{PAGENAME}}<1000 |0 }}{{#ifexpr: {{PAGENAME}}<100 |0 }}{{#ifexpr: {{PAGENAME}}<10 |0 }}{{PAGENAME}}]]
+
<!-- [[Category:Years ({{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+1}} century)|#{{#ifexpr: {{PAGENAME}}<1000 |0 }}{{#ifexpr: {{PAGENAME}}<100 |0 }}{{#ifexpr: {{PAGENAME}}<10 |0 }}{{PAGENAME}}]] -->
[[Kategorie:{{PAGENAME}}| ]]
+
[[Category:{{PAGENAME}}| ]]
 
</includeonly>
 
</includeonly>
  

Latest revision as of 17: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