Template:State establishment category: Difference between revisions
Appearance
Content deleted Content added
Plastikspork (talk | contribs) m Protected Template:State est cat: Highly visible template ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)) |
Arcticocean (talk | contribs) m Changed protection level of Template:State establishment category: Highly-visible template (over 1000 transclusions) ([edit=autoconfirmed] (indefinite) [move=sysop] (indefinite)) |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{State establishment category/core |
|||
<includeonly>[[Sovereign state|State]]s and [[Territory (country subdivision)|territories]] {{#ifeq:{{PAGENAME}}|States and territories disestablished in {{{1}}}|dis}}established in the year '''[[{{{1}}}]]'''. |
|||
|1={{#if:{{{2|}}}<!-- |
|||
-->|{{#ifeq:{{uc:{{{2}}}}}|BC<!-- |
|||
{| class="toccolours" align=center |
|||
-->|-{{#if:1|{{{1}}}}}<!-- |
|||
|[[:Category:States and territories {{#ifeq:{{PAGENAME}}|States and territories disestablished in {{{1}}}|dis}}established in {{#expr:{{{1}}}-6}}|<<]]–<!-- |
|||
-->|{{#expr:10*{{{1}}}+{{{2}}}}}<!-- |
|||
-->[[:Category:States and territories {{#ifeq:{{PAGENAME}}|States and territories disestablished in {{{1}}}|dis}}established in {{#expr:{{{1}}}-5}}|{{#expr:{{{1}}}-5}}]]–<!-- |
|||
-->}}<!-- |
|||
-->[[:Category:States and territories {{#ifeq:{{PAGENAME}}|States and territories disestablished in {{{1}}}|dis}}established in {{#expr:{{{1}}}-4}}|{{#expr:{{{1}}}-4}}]]–<!-- |
|||
-->|{{{1|}}} |
|||
-->[[:Category:States and territories {{#ifeq:{{PAGENAME}}|States and territories disestablished in {{{1}}}|dis}}established in {{#expr:{{{1}}}-3}}|{{#expr:{{{1}}}-3}}]]–<!-- |
|||
⚫ | |||
-->[[:Category:States and territories {{#ifeq:{{PAGENAME}}|States and territories disestablished in {{{1}}}|dis}}established in {{#expr:{{{1}}}-2}}|{{#expr:{{{1}}}-2}}]]–<!-- |
|||
|dis={{#ifeq:{{PAGENAME}}|States and territories disestablished in {{State establishment category/year|<!-- |
|||
-->{{#if:{{{2|}}}<!-- |
|||
-->[[:Category:States and territories {{#ifeq:{{PAGENAME}}|States and territories disestablished in {{{1}}}|dis}}established in {{#expr:{{{1}}}+0}}|{{#expr:{{{1}}}+0}}]]–<!-- |
|||
-->|{{#ifeq:{{uc:{{{2}}}}}|BC<!-- |
|||
-->[[:Category:States and territories {{#ifeq:{{PAGENAME}}|States and territories disestablished in {{{1}}}|dis}}established in {{#expr:{{{1}}}+1}}|{{#expr:{{{1}}}+1}}]]–<!-- |
|||
-->|-{{#if:1|{{{1}}}}}<!-- |
|||
-->[[:Category:States and territories {{#ifeq:{{PAGENAME}}|States and territories disestablished in {{{1}}}|dis}}established in {{#expr:{{{1}}}+2}}|{{#expr:{{{1}}}+2}}]]–<!-- |
|||
-->|{{#expr:10*{{{1}}}+{{{2}}}}}<!-- |
|||
-->[[:Category:States and territories {{#ifeq:{{PAGENAME}}|States and territories disestablished in {{{1}}}|dis}}established in {{#expr:{{{1}}}+3}}|{{#expr:{{{1}}}+3}}]]–<!-- |
|||
-->}}<!-- |
|||
-->[[:Category:States and territories {{#ifeq:{{PAGENAME}}|States and territories disestablished in {{{1}}}|dis}}established in {{#expr:{{{1}}}+4}}|{{#expr:{{{1}}}+4}}]]–<!-- |
|||
-->|{{{1|}}} |
|||
-->[[:Category:States and territories {{#ifeq:{{PAGENAME}}|States and territories disestablished in {{{1}}}|dis}}established in {{#expr:{{{1}}}+5}}|{{#expr:{{{1}}}+5}}]]–<!-- |
|||
}}<!-- |
|||
-->[[:Category:States and territories {{#ifeq:{{PAGENAME}}|States and territories disestablished in {{{1}}}|dis}}established in {{#expr:{{{1}}}+6}}|>>]] |
|||
-->}}|dis}} |
|||
⚫ | |||
|_nocat={{{_nocat|}}} |
|||
⚫ | |||
[[Category:{{{1}}} {{#ifeq:{{PAGENAME}}|States and territories disestablished in {{{1}}}|dis}}establishments|{{PAGENAME}}]] |
|||
⚫ | |||
[[Category:States and territories {{#ifeq:{{PAGENAME}}|States and territories disestablished in {{{1}}}|dis}}established in the {{#expr:10*floor({{{1}}}/10)}}s|{{#expr:{{{1}}}-10*floor({{{1}}}/10)}}]] |
|||
[[Category:{{{1}}} in politics|{{PAGENAME}}]] |
|||
[[Category:{{{1}}} in international relations|{{PAGENAME}}]] |
|||
⚫ | |||
⚫ | |||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> |
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> |
||
</noinclude> |
</noinclude> |
Latest revision as of 10:25, 23 April 2012
This template is used to generate standardized text, navigation, and parent categories for
Category:States and territories established in YYYY
Category:States and territories established in YYYY BC
Category:States and territories disestablished in YYYY
Category:States and territories disestablished in YYYY BC
It automatically adds the following parent categories
Category:YYYY (dis)establishments
Category:States and territories by year of (dis)establishment
Category:States and territories (dis)established in the YYY0s
Category:YYYY in politics
– for year 1500 onwardsCategory:YYYY in international relations
Usage
{{state est cat|YYYY}}
for the yearYYYY
{{state est cat|YYYY|BC}}
for the yearYYYY
BC
The template automatically determines if it is being used in an established or disestablished category by checking the name of the transcluding page.