Difference between revisions of "Template:Category Year"
From PUBLIC DOMAIN PROJECT
m (Protected "Template:Category Year" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading]) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
</noinclude><includeonly><div {{Calendar design}}> | </noinclude><includeonly><div {{Calendar design}}> | ||
− | + | [[:Category:{{#ifexpr: ({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100-1 <= 0 |{{#expr:(({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100-2)*(-1)}} century BC |{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100-1}} century}}|◄]] | | |
− | [[:Category:{{#ifexpr: {{PAGENAME}}-{{PAGENAME}}mod10-40 < 0 |{{#expr:({{PAGENAME}}-{{PAGENAME}}mod10-30)*(-1)+0}}s BC |{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10-40}}s }}|◄]] | | + | [[:Category:{{#ifexpr: ({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100 <= 0 |{{#expr:(({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100-1)*(-1)}} century BC |{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100}} century}}|{{#ifexpr: ({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100 <= 0 |{{#expr:(({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100-1)*(-1)}} century BC |{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100}} century }}]] | |
+ | '''[[:Category:{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+1}} century|{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+1}} century]]''' | ||
+ | {{#ifexist: Category:{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+2}} century|{{!}} [[:Category:{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+2}} century|{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+2}} century]] | }} | ||
+ | {{#ifexist: Category:{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+3}} century|{{!}} [[:Category:{{#expr:({{PAGENAME}}-1-({{PAGENAME}}-1)mod100)/100+3}} century|►]] | }}<!-- | ||
+ | --><br/> | ||
+ | [[:Category:{{#ifexpr: {{PAGENAME}}-{{PAGENAME}}mod10-40 < 0 |{{#expr:({{PAGENAME}}-{{PAGENAME}}mod10-30)*(-1)+0}}s BC |{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10-40}}s}}|◄]] | | ||
{{#ifexpr: {{PAGENAME}}-{{PAGENAME}}mod10-30 < 0 |[[:Category:{{#expr:({{PAGENAME}}-{{PAGENAME}}mod10-20)*(-1)+0}}s BC|{{#expr:({{PAGENAME}}-{{PAGENAME}}mod10-20)*(-1)+0}}s BC]] |[[:Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10-30}}s|{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10-30}}s]] }} | | {{#ifexpr: {{PAGENAME}}-{{PAGENAME}}mod10-30 < 0 |[[:Category:{{#expr:({{PAGENAME}}-{{PAGENAME}}mod10-20)*(-1)+0}}s BC|{{#expr:({{PAGENAME}}-{{PAGENAME}}mod10-20)*(-1)+0}}s BC]] |[[:Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10-30}}s|{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10-30}}s]] }} | | ||
{{#ifexpr: {{PAGENAME}}-{{PAGENAME}}mod10-20 < 0 |[[:Category:{{#expr:({{PAGENAME}}-{{PAGENAME}}mod10-10)*(-1)+0}}s BC|{{#expr:({{PAGENAME}}-{{PAGENAME}}mod10-10)*(-1)+0}}s BC]] |[[:Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10-20}}s|{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10-20}}s]] }} | | {{#ifexpr: {{PAGENAME}}-{{PAGENAME}}mod10-20 < 0 |[[:Category:{{#expr:({{PAGENAME}}-{{PAGENAME}}mod10-10)*(-1)+0}}s BC|{{#expr:({{PAGENAME}}-{{PAGENAME}}mod10-10)*(-1)+0}}s BC]] |[[:Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10-20}}s|{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10-20}}s]] }} | | ||
{{#ifexpr: {{PAGENAME}}-{{PAGENAME}}mod10-10 < 0 |[[:Category:{{#expr:({{PAGENAME}}-{{PAGENAME}}mod10)*(-1)+0}}s BC|{{#expr:({{PAGENAME}}-{{PAGENAME}}mod10)*(-1)+0}}s BC]] |[[:Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10-10}}s|{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10-10}}s]] }} | | {{#ifexpr: {{PAGENAME}}-{{PAGENAME}}mod10-10 < 0 |[[:Category:{{#expr:({{PAGENAME}}-{{PAGENAME}}mod10)*(-1)+0}}s BC|{{#expr:({{PAGENAME}}-{{PAGENAME}}mod10)*(-1)+0}}s BC]] |[[:Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10-10}}s|{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10-10}}s]] }} | | ||
'''[[:Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10}}s|{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10}}s]]''' | '''[[:Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10}}s|{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10}}s]]''' | ||
− | {{#ifexist: Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+10}}s |{{!}} [[:Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+10}}s|{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+10}}s]] | }} | + | {{#ifexist: Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+10}}s|{{!}} [[:Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+10}}s|{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+10}}s]] | }} |
− | {{#ifexist: Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+20}}s |{{!}} [[:Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+20}}s|{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+20}}s]] | }} | + | {{#ifexist: Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+20}}s|{{!}} [[:Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+20}}s|{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+20}}s]] | }} |
− | {{#ifexist: Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+30}}s |{{!}} [[:Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+30}}s|{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+30}}s]] | }} | + | {{#ifexist: Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+30}}s|{{!}} [[:Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+30}}s|{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+30}}s]] | }} |
− | {{#ifexist: Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+40}}s |{{!}} [[:Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+40}}s|►]] | }}<!-- | + | {{#ifexist: Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+40}}s|{{!}} [[:Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10+40}}s|►]] | }}<!-- |
--><br/> | --><br/> | ||
[[:Category:{{#ifexpr: {{PAGENAME}}-10 <= 0 |{{#expr:({{PAGENAME}}-11)*(-1)}} BC |{{#expr:{{PAGENAME}}-10}} }}|◄◄]] | | [[:Category:{{#ifexpr: {{PAGENAME}}-10 <= 0 |{{#expr:({{PAGENAME}}-11)*(-1)}} BC |{{#expr:{{PAGENAME}}-10}} }}|◄◄]] | | ||
Line 35: | Line 40: | ||
{{#ifexist: Category:{{#expr:{{PAGENAME}}+10}} |{{!}} [[:Category:{{#expr:{{PAGENAME}}+10}}|►►]] | }} | {{#ifexist: Category:{{#expr:{{PAGENAME}}+10}} |{{!}} [[:Category:{{#expr:{{PAGENAME}}+10}}|►►]] | }} | ||
</div> | </div> | ||
+ | |||
+ | This category contains articles which are related to the year [[{{PAGENAME}}]] | ||
{{TOC Category}} | {{TOC Category}} | ||
− | [[Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10}}s|#{{#ifexpr: {{PAGENAME}} < 1000 |0 }}{{#ifexpr: {{PAGENAME}} < 100 |0 }}{{#ifexpr: {{PAGENAME}} < 10 |0 }}{{PAGENAME}}]]</includeonly><noinclude> | + | [[Category:{{#expr:{{PAGENAME}}-{{PAGENAME}}mod10}}s|#{{#ifexpr: {{PAGENAME}} < 1000 |0 }}{{#ifexpr: {{PAGENAME}} < 100 |0 }}{{#ifexpr: {{PAGENAME}} < 10 |0 }}{{PAGENAME}}]] |
+ | [[Category:Years]]</includeonly><noinclude> | ||
</noinclude> | </noinclude> |
Latest revision as of 16:21, 8 January 2012
This template is designed as a navigation bar for categories by year after the birth of Christ. Please use as follows:
{{Category Year}}
For categories before Christ please use only: Template:Category Year BC.