Difference between revisions of "Template:Category Year"

From PUBLIC DOMAIN PROJECT
Jump to: navigation, search
Line 9: Line 9:
 
[[Category:Time, date and calendar templates]]
 
[[Category:Time, date and calendar templates]]
 
</noinclude><includeonly><div {{Calendar design}}>
 
</noinclude><includeonly><div {{Calendar design}}>
 
 
 
[[: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}}-{{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]] }} |

Revision as of 06: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.