Difference between revisions of "Template:Article Century"

From PUBLIC DOMAIN PROJECT
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
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}}
Line 19: Line 16:
 
[[{{#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; }}
Line 37: Line 34:
 
</div>
 
</div>
 
[[Category:Centuries|#{{#ifexpr: {{{1}}} < 10 |0 }}{{{1}}}]]
 
[[Category:Centuries|#{{#ifexpr: {{{1}}} < 10 |0 }}{{{1}}}]]
[[Category:{{{1}}} century| ]]</includeonly>
+
</includeonly>
  
 
<noinclude>
 
<noinclude>
 
[[Category:Time, date and calendar templates]]
 
[[Category:Time, date and 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