Difference between revisions of "Template:Category Century"
From PUBLIC DOMAIN PROJECT
Line 5: | Line 5: | ||
For categories about the centuries '''before''' Christ please use the [[Template:Category Century BC]] | For categories about the centuries '''before''' Christ please use the [[Template:Category Century BC]] | ||
− | |||
− | |||
− | |||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{YearHeadArticle}} | {{YearHeadArticle}} | ||
− | + | [[:Category:{{#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 }}|◄]] | | |
[[:Category:{{#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 }}]] | | [[:Category:{{#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 }}]] | | ||
'''[[:Category:{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10+1}} millennium]]''' | '''[[:Category:{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10+1}} millennium]]''' | ||
{{#ifexpr: ({{{1}}}-1-({{{1}}}-1)mod10)/10+2<=3 |{{!}} [[:Category:{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10+2}} millennium|{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10+2}} ML]] | }} | {{#ifexpr: ({{{1}}}-1-({{{1}}}-1)mod10)/10+2<=3 |{{!}} [[:Category:{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10+2}} millennium|{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10+2}} ML]] | }} | ||
{{#ifexpr: ({{{1}}}-1-({{{1}}}-1)mod10)/10+3 <= 3 |{{!}} [[:Category:{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10+3}} millennium|►]] | }} | {{#ifexpr: ({{{1}}}-1-({{{1}}}-1)mod10)/10+3 <= 3 |{{!}} [[:Category:{{#expr:({{{1}}}-1-({{{1}}}-1)mod10)/10+3}} millennium|►]] | }} | ||
− | <br / | + | <br /> |
[[: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. }}]] | |
Revision as of 18:17, 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