Difference between revisions of "Template:DisestcatContinent"

From blackwiki
Jump to navigation Jump to search
imported>BrownHairedGirl
(remove deleted Portal:Continents and Portal:Years. Use Portal:History)
imported>BrownHairedGirl
(make parameterless. Use Template:DisestcatContinent/core)
Line 1: Line 1:
<includeonly>{{Portal|{{{3}}}|History|{{FindYDCportal|{{Title year}}}}}}
+
<includeonly>{{DisestcatContinent/core<!--
Organizations, places and other things terminated or disestablished in '''[[{{{3}}}]]''' in the year '''[[{{{1}}}{{{2}}}]]'''.
+
-->|year={{Title year}}<!--
 
+
-->|decade={{#expr:((({{Title year}}/10)-0.5) round 0)}}<!--
{| class="toccolours" style="margin:1em auto;"
+
-->|continent={{#invoke:String|replace|source={{PAGENAME}}|pattern=^%d+ establishments +in +(.+)$|replace=%1|count=1|plain=false}}<!--
|[[:Category:{{{1}}}0s disestablishments in {{{3}}}|{{{1}}}0s disestablishments in {{{3}}}]]:
+
  -->}}</includeonly><noinclude>
|{{LinkCatIfExists2|{{#expr: {{{1}}}0 - 1}} disestablishments in {{{3}}}|&larr;}} {{LinkCatIfExists2|{{{1}}}0 disestablishments in {{{3}}}|{{{1}}}0}} • {{LinkCatIfExists2|{{{1}}}1 disestablishments in {{{3}}}|{{{1}}}1}} • {{LinkCatIfExists2|{{{1}}}2 disestablishments in {{{3}}}|{{{1}}}2}} • {{LinkCatIfExists2|{{{1}}}3 disestablishments in {{{3}}}|{{{1}}}3}} • {{LinkCatIfExists2|{{{1}}}4 disestablishments in {{{3}}}|{{{1}}}4}} • {{LinkCatIfExists2|{{{1}}}5 disestablishments in {{{3}}}|{{{1}}}5}} • {{LinkCatIfExists2|{{{1}}}6 disestablishments in {{{3}}}|{{{1}}}6}} • {{LinkCatIfExists2|{{{1}}}7 disestablishments in {{{3}}}|{{{1}}}7}} • {{LinkCatIfExists2|{{{1}}}8 disestablishments in {{{3}}}|{{{1}}}8}} • {{LinkCatIfExists2|{{{1}}}9 disestablishments in {{{3}}}|{{{1}}}9}} {{LinkCatIfExists2|{{#expr: {{{1}}}9 + 1}} disestablishments in {{{3}}}|&rarr;}}
 
|}
 
 
 
{{Category see also if exists 2|{{{1}}}{{{2}}} establishments in {{{3}}}|{{{1}}}0s establishments in {{{3}}}}}
 
{{#ifexpr: {{{1}}} < 150 |[[Category:{{{1}}}{{{2}}} disestablishments|{{{4|{{{3}}}}}}]] |[[Category:{{{1}}}{{{2}}} disestablishments by continent|{{{4|{{{3}}}}}}]]}}
 
[[Category:{{{1}}}0s disestablishments in {{{3}}}]]
 
{{#ifexpr: {{{1}}} < 100 | [[Category:Disestablishments in {{{3}}} by year|0{{{1}}}]] | [[Category:Disestablishments in {{{3}}} by year]]}}
 
[[Category:{{{1}}}{{{2}}} in {{{3}}}|/Disestablishments]]</includeonly><!--
 
  # Note {{YearParamUsageCheck}} needs to be available whether or not this template page has been transcluded
 
-->{{YearParamUsageCheck
 
| yearparam    = {{{1}}}{{{2}}}
 
| templatename = DisestcatContinent
 
}}<noinclude>
 
 
<!-- Add categories and interwikis to the /doc subpage, please, not here! -->  
 
<!-- Add categories and interwikis to the /doc subpage, please, not here! -->  
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 17:43, 15 July 2019

Template documentation[view] [edit] [history] [purge]

Usage

For categories such as Category:1956 disestablishments in Europe, enter:

{{DisestcatContinent}}

No parameters are needed.

For categories such as Category:1956 disestablishments by continent, do not use this template, but {{Disestcatbycontinent}}.

See also