Difference between revisions of "Template:Article Year"

From MUSICAL HERITAGE ORGANIZATION
Jump to: navigation, search
m (Protected "Template:Article Year" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
 
(3 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>
 
}} }}
 
}} }}
[[Category:Year ({{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+1}}. century)|#{{#ifexpr: {{PAGENAME}}<1000 |0 }}{{#ifexpr: {{PAGENAME}}<100 |0 }}{{#ifexpr: {{PAGENAME}}<10 |0 }}{{PAGENAME}}]]
+
<!-- [[Category:Year ({{#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>
  
 
<noinclude>
 
<noinclude>
[[Category:Exclude in print]]
+
[[Category:Time, date and calendar templates]]
[[Category:Template:Introduction]]
 
[[Category:Template:Calendar templates]]
 
 
</noinclude>
 
</noinclude>

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