Difference between revisions of "Template:Article Century"

From PUBLIC DOMAIN PROJECT
Jump to: navigation, search
(Created page with "<noinclude> This template is a navigation bar for Articles about centuries '''after''' Christ (Overview: List of centuries). Please use as follows: (example for [[20. century...")
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This template is a navigation bar for Articles about centuries '''after''' Christ (Overview: [[List of centuries]]). Please use as follows: (example for [[20. century|20th century]]):
+
This template is a navigation bar for Articles about centuries '''after''' Christ (Overview: [[List of centuries]]). Please use as follows: (example for [[20 century|20th century]]):
  
 
<code><nowiki>{{Article Century|20}}</nowiki></code>
 
<code><nowiki>{{Article Century|20}}</nowiki></code>
  
 
For articles about the centuries '''before''' Christ please use the [[Template:Article Century BC]]
 
For articles about the centuries '''before''' Christ please use the [[Template:Article Century BC]]
 
[[Category:Template:Introduction|Article Century]]
 
[[Category:Template:Calendar navigation|Article Century]]
 
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
{{YearHeadArticle}}
 
{{YearHeadArticle}}
  
<!--[[{{#ifexpr: ({{{1}}}-1-({{{1}}}-1)mod10)/10-1 <= 0 |{{#expr:(({{{1}}}-1-({{{1}}}-1)mod100)/100-2)*(-1)}}. millenium BC |{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10-1}}. millenium }}|◄]] |
+
<!--[[{{#ifexpr: ({{{1}}}-1-({{{1}}}-1)mod10)/10-1 <= 0 |{{#expr:(({{{1}}}-1-({{{1}}}-1)mod100)/100-2)*(-1)}} millennium BC |{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10-1}} millennium }}|◄]] |
[[{{#ifexpr: ({{{1}}}-1-({{{1}}}-1)mod10)/10 <= 0 |{{#expr:(({{{1}}}-1-({{{1}}}-1)mod100)/100-1)*(-1)}}. millenium BC |{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10}}. millenium }}|{{#ifexpr: {{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10}}<=0 |{{#expr:(({{{1}}}-1-({{{1}}}-1)mod100)/100-1)*(-1)}}. ML BC |{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10}}. ML }}]] |
+
[[{{#ifexpr: ({{{1}}}-1-({{{1}}}-1)mod10)/10 <= 0 |{{#expr:(({{{1}}}-1-({{{1}}}-1)mod100)/100-1)*(-1)}} millennium BC |{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10}} millennium }}|{{#ifexpr: {{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10}}<=0 |{{#expr:(({{{1}}}-1-({{{1}}}-1)mod100)/100-1)*(-1)}} ML BC |{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10}} ML }}]] |
'''[[{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10+1}}. millenium]]'''
+
'''[[{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10+1}} millennium]]'''
{{#ifexpr: ({{{1}}}-1-({{{1}}}-1)mod10)/10+2<=3 |{{!}} [[{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10+2}}. millenium|{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10+2}}. ML]] |&nbsp; }}
+
{{#ifexpr: ({{{1}}}-1-({{{1}}}-1)mod10)/10+2<=3 |{{!}} [[{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10+2}} millennium|{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10+2}} ML]] |&nbsp; }}
{{#ifexpr: ({{{1}}}-1-({{{1}}}-1)mod10)/10+3 <= 3 |{{!}} [[{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10+3}}. millenium|►]] |&nbsp; }}
+
{{#ifexpr: ({{{1}}}-1-({{{1}}}-1)mod10)/10+3 <= 3 |{{!}} [[{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10+3}} millennium|►]] |&nbsp; }}
 
<br />-->
 
<br />-->
[[{{#ifexpr: {{{1}}}-3 <= 0 |{{#expr:({{{1}}}-4)*(-1)}}. century BC |{{#expr:{{{1}}}-3}}. century }}|◄]] |
+
[[{{#ifexpr: {{{1}}}-3 <= 0 |{{#expr:({{{1}}}-4)*(-1)}} century BC |{{#expr:{{{1}}}-3}} century }}|◄]] |
[[{{#ifexpr: {{{1}}}-2 <= 0 |{{#expr:({{{1}}}-3)*(-1)}}. century BC |{{#expr:{{{1}}}-2}}. century}}|{{#ifexpr: {{{1}}}-2 <= 0 |{{#expr:({{{1}}}-3)*(-1)}}. c. BC |{{#expr:{{{1}}}-2}}. c. }}]] |
+
[[{{#ifexpr: {{{1}}}-2 <= 0 |{{#expr:({{{1}}}-3)*(-1)}} century BC |{{#expr:{{{1}}}-2}} century}}|{{#ifexpr: {{{1}}}-2 <= 0 |{{#expr:({{{1}}}-3)*(-1)}} c. BC |{{#expr:{{{1}}}-2}} c. }}]] |
[[{{#ifexpr: {{{1}}}-1 <= 0 |{{#expr:({{{1}}}-2)*(-1)}}. c. BC |{{#expr:{{{1}}}-1}}. century }}|{{#ifexpr: {{{1}}}-1 <= 0 |{{#expr:({{{1}}}-2)*(-1)}}. c. BC |{{#expr:{{{1}}}-1}}. c. }}]] |
+
[[{{#ifexpr: {{{1}}}-1 <= 0 |{{#expr:({{{1}}}-2)*(-1)}} century BC |{{#expr:{{{1}}}-1}} century }}|{{#ifexpr: {{{1}}}-1 <= 0 |{{#expr:({{{1}}}-2)*(-1)}} c. BC |{{#expr:{{{1}}}-1}} c. }}]] |
'''{{{1}}}. century'''
+
'''{{{1}}} century'''
{{#ifexpr: {{{1}}} <= 20 |{{!}} [[{{#expr:{{{1}}}+1}}. century|{{#expr:{{{1}}}+1}}. c.]] |&nbsp; }}
+
{{#ifexpr: {{{1}}} <= 20 |{{!}} [[{{#expr:{{{1}}}+1}} century|{{#expr:{{{1}}}+1}} c.]] |&nbsp; }}
{{#ifexpr: {{{1}}} <= 19 |{{!}} [[{{#expr:{{{1}}}+2}}. century|{{#expr:{{{1}}}+2}}. c.]] |&nbsp; }}
+
{{#ifexpr: {{{1}}} <= 19 |{{!}} [[{{#expr:{{{1}}}+2}} century|{{#expr:{{{1}}}+2}} c.]] |&nbsp; }}
{{#ifexpr: {{{1}}} <= 18 |{{!}} [[{{#expr:{{{1}}}+3}}. century|►]] |&nbsp; }}<!--
+
{{#ifexpr: {{{1}}} <= 18 |{{!}} [[{{#expr:{{{1}}}+3}} century|►]] |&nbsp; }}<!--
 
--><br />
 
--><br />
 
[[{{#expr:{{{1}}}*100-100}}s]] |
 
[[{{#expr:{{{1}}}*100-100}}s]] |
Line 36: Line 33:
 
[[{{#expr:{{{1}}}*100-10}}s]] }}
 
[[{{#expr:{{{1}}}*100-10}}s]] }}
 
</div>
 
</div>
[[Category:Century|#{{#ifexpr: {{{1}}} < 10 |0 }}{{{1}}}]]
+
[[Category:Centuries|#{{#ifexpr: {{{1}}} < 10 |0 }}{{{1}}}]]
[[Category:{{{1}}}. century| ]]</includeonly>
+
</includeonly>
  
 
<noinclude>
 
<noinclude>
[[Category:Template:Introduction]]
+
[[Category:Time, date and calendar templates]]
[[Category:Template:Calendar templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 23:18, 8 January 2012

This template is a navigation bar for Articles about centuries after Christ (Overview: List of centuries). Please use as follows: (example for 20th century):

{{Article Century|20}}

For articles about the centuries before Christ please use the Template:Article Century BC