Template:State establishment category: Difference between revisions
Appearance
Content deleted Content added
correct sortings |
Arcticocean (talk | contribs) m Changed protection level of Template:State establishment category: Highly-visible template (over 1000 transclusions) ([edit=autoconfirmed] (indefinite) [move=sysop] (indefinite)) |
||
(26 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{State establishment category/core |
|||
<includeonly>[[State]]s and [[Territory (country subdivision)|territories]] established in the year '''[[{{{1}}}{{{2}}}]]'''. |
|||
|1={{#if:{{{2|}}}<!-- |
|||
-->|{{#ifeq:{{uc:{{{2}}}}}|BC<!-- |
|||
{| class="toccolours" align=center |
|||
-->|-{{#if:1|{{{1}}}}}<!-- |
|||
|[[:Category:States and territories established in {{{3}}}|<<]]-[[:Category:States and territories established in {{{1}}}0|{{{1}}}0]]-[[:Category:States and territories established in {{{1}}}1|{{{1}}}1]]-[[:Category:States and territories established in {{{1}}}2|{{{1}}}2]]-[[:Category:States and territories established in {{{1}}}3|{{{1}}}3]]-[[:Category:States and territories established in {{{1}}}4|{{{1}}}4]]-[[:Category:States and territories established in {{{1}}}5|{{{1}}}5]]-[[:Category:States and territories established in {{{1}}}6|{{{1}}}6]]-[[:Category:States and territories established in {{{1}}}7|{{{1}}}7]]-[[:Category:States and territories established in {{{1}}}8|{{{1}}}8]]-[[:Category:States and territories established in {{{1}}}9|{{{1}}}9]]-[[:Category:States and territories established in {{{4}}}|>>]] |
|||
-->|{{#expr:10*{{{1}}}+{{{2}}}}}<!-- |
|||
⚫ | |||
-->}}<!-- |
|||
-->|{{{1|}}} |
|||
[[Category:{{{1}}}{{{2}}} establishments|{{PAGENAME}}]] |
|||
⚫ | |||
[[Category:States and territories established in the {{{1}}}0s|{{{2}}}]] |
|||
|dis={{#ifeq:{{PAGENAME}}|States and territories disestablished in {{State establishment category/year|<!-- |
|||
⚫ | |||
-->{{#if:{{{2|}}}<!-- |
|||
[[Category:States and territories by year of establishment|*{{PAGENAME}}]] |
|||
-->|{{#ifeq:{{uc:{{{2}}}}}|BC<!-- |
|||
⚫ | |||
-->|-{{#if:1|{{{1}}}}}<!-- |
|||
-->|{{#expr:10*{{{1}}}+{{{2}}}}}<!-- |
|||
-->}}<!-- |
|||
-->|{{{1|}}} |
|||
}}<!-- |
|||
-->}}|dis}} |
|||
|_nocat={{{_nocat|}}} |
|||
⚫ | |||
⚫ | |||
<!-- 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.