Difference between revisions of "Template:Article Century"
From MUSICAL HERITAGE ORGANIZATION
(One intermediate revision by the same user not shown) | |||
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)}} | + | [[{{#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.]] | }} | {{#ifexpr: {{{1}}} <= 20 |{{!}} [[{{#expr:{{{1}}}+1}} century|{{#expr:{{{1}}}+1}} c.]] | }} | ||
Line 34: | Line 34: | ||
</div> | </div> | ||
[[Category:Centuries|#{{#ifexpr: {{{1}}} < 10 |0 }}{{{1}}}]] | [[Category:Centuries|#{{#ifexpr: {{{1}}} < 10 |0 }}{{{1}}}]] | ||
− | + | </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