Difference between revisions of "Template:Article Century"

From PUBLIC DOMAIN PROJECT
Jump to: navigation, search
 
Line 16: 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; }}

Latest revision as of 00:18, 9 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