Difference between revisions of "Template:Category Century"

From PUBLIC DOMAIN PROJECT
Jump to: navigation, search
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)}} c. BC |{{#expr:{{{1}}}-1}} century }}|{{#ifexpr: {{{1}}}-1 <= 0 |{{#expr:({{{1}}}-2)*(-1)}} c. BC |{{#expr:{{{1}}}-1}} c. }}]] |
+
[[:Category:{{#ifexpr: {{{1}}}-1 <= 0 |{{#expr:({{{1}}}-2)*(-1)}} c. 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.]] |&nbsp; }}
 
{{#ifexpr: {{{1}}} <= 20 |{{!}} [[:Category:{{#expr:{{{1}}}+1}} century|{{#expr:{{{1}}}+1}} c.]] |&nbsp; }}

Revision as of 23:56, 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