Difference between revisions of "Template:EstcatContinent"

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