Difference between revisions of "Template:Category Century"
From MUSICAL HERITAGE ORGANIZATION
(12 intermediate revisions by the same user not shown) | |||
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|{{#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. }}]] | | ||
− | [[: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 25: | Line 22: | ||
{{#ifexpr: {{{1}}} <= 18 |{{!}} [[:Category:{{#expr:{{{1}}}+3}} century|►]] | }}<!-- | {{#ifexpr: {{{1}}} <= 18 |{{!}} [[:Category:{{#expr:{{{1}}}+3}} century|►]] | }}<!-- | ||
--><br /> | --><br /> | ||
− | [[:Category:{{#expr:{{{1}}}*100-100}}s]] | | + | [[:Category:{{#expr:{{{1}}}*100-100}}s|{{#expr:{{{1}}}*100-100}}s]] | |
− | [[:Category:{{#expr:{{{1}}}*100-90}}s]] {{#ifexpr: {{{1}}} != 21 |{{!}} | + | [[:Category:{{#expr:{{{1}}}*100-90}}s|{{#expr:{{{1}}}*100-90}}s]] {{#ifexpr: {{{1}}} != 21 |{{!}} |
− | [[:Category:{{#expr:{{{1}}}*100-80}}s]] {{!}} | + | [[:Category:{{#expr:{{{1}}}*100-80}}s|{{#expr:{{{1}}}*100-80}}s]] {{!}} |
− | [[:Category:{{#expr:{{{1}}}*100-70}}s]] {{!}} | + | [[:Category:{{#expr:{{{1}}}*100-70}}s|{{#expr:{{{1}}}*100-70}}s]] {{!}} |
− | [[:Category:{{#expr:{{{1}}}*100-60}}s]] {{!}} | + | [[:Category:{{#expr:{{{1}}}*100-60}}s|{{#expr:{{{1}}}*100-60}}s]] {{!}} |
− | [[:Category:{{#expr:{{{1}}}*100-50}}s]] {{!}} | + | [[:Category:{{#expr:{{{1}}}*100-50}}s|{{#expr:{{{1}}}*100-50}}s]] {{!}} |
− | [[:Category:{{#expr:{{{1}}}*100-40}}s]] {{!}} | + | [[:Category:{{#expr:{{{1}}}*100-40}}s|{{#expr:{{{1}}}*100-40}}s]] {{!}} |
− | [[:Category:{{#expr:{{{1}}}*100-30}}s]] {{!}} | + | [[:Category:{{#expr:{{{1}}}*100-30}}s|{{#expr:{{{1}}}*100-30}}s]] {{!}} |
− | [[:Category:{{#expr:{{{1}}}*100-20}}s]] {{!}} | + | [[:Category:{{#expr:{{{1}}}*100-20}}s|{{#expr:{{{1}}}*100-20}}s]] {{!}} |
− | [[:Category:{{#expr:{{{1}}}*100-10}}s]] }} | + | [[:Category:{{#expr:{{{1}}}*100-10}}s|{{#expr:{{{1}}}*100-10}}s]] }} |
</div> | </div> | ||
− | [[ | + | [[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