Difference between revisions of "Template:Category Century"
From PUBLIC DOMAIN PROJECT
(6 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
[[:Category:{{#ifexpr: {{{1}}}-3 <= 0 |{{#expr:({{{1}}}-4)*(-1)}} century BC |{{#expr:{{{1}}}-3}} century }}|◄]] | | [[:Category:{{#ifexpr: {{{1}}}-3 <= 0 |{{#expr:({{{1}}}-4)*(-1)}} century BC |{{#expr:{{{1}}}-3}} century }}|◄]] | | ||
[[:Category:{{#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. }}]] | | [[:Category:{{#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. }}]] | | ||
− | [[:Category:{{#ifexpr: {{{1}}}-1 <= 0 |{{#expr:({{{1}}}-2)*(-1)}} | + | [[:Category:{{#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 |{{!}} [[:Category:{{#expr:{{{1}}}+1}} century|{{#expr:{{{1}}}+1}} c.]] | }} | {{#ifexpr: {{{1}}} <= 20 |{{!}} [[:Category:{{#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 Categories about centuries after Christ (Overview: List of centuries). Please use as follows: (example for 20th century):
{{Category Century|20}}
For categories about the centuries before Christ please use the Template:Category Century BC