Difference between revisions of "Template:EstcatContinentDecade"

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|{{{4}}}|History|{{FindYDCportal|{{Title decade}}}}}}
+
<includeonly><!--
Organizations, places or other things founded or established in '''[[{{{4}}}]]''' in the '''[[{{{1}}}{{#ifeq:{{{2}}} | 0 | {{{2}}}0–{{{1}}}{{{2}}}9{{!}}{{{1}}}}}{{{2}}}0s]]'''.
+
    -->{{#ifeq: {{#invoke:String|match|s={{PAGENAME}}|pattern=^%d?%d%d0s establishments in |start=1|match=1|plain=false|nomatch=%%nomatch%%}}|%%nomatch%%<!--
 
+
        -->|<!-- # Title doesn't match required format
{{BDDecadesInCentury|{{{1}}}|{{{3}}}|establishments in {{{4}}}}}
+
            -->{{error|nomatch}}<!--
 
+
        -->|<!--
{{-}}
+
            -->{{EstcatContinentDecade/core<!--
 
+
                -->| decade={{{decade|{{Title decade}}}}}<!-- # allow decade param for demonstration purposes
 
+
                -->| continent={{#invoke:String|replace|source={{PAGENAME}}|pattern=^(%d?%d%d0s establishments in )|replace=|count=1|plain=false}}<!--
{{Category see also if exists|{{{1}}}{{{2}}}0s disestablishments in {{{4}}}}}
+
                -->| nocat={{{nocat|}}}<!--
 
+
            -->}}<!--
[[Category:{{{1}}}{{{2}}}0s establishments by continent|{{{5|{{{4}}}}}}]]
+
    -->}}<!--
[[Category:{{{3}}}-century establishments in {{{4}}}| {{PAGENAME}}]]
+
--></includeonly><noinclude>
[[Category:Establishments in {{{4}}} by decade]]
+
{{Documentation}}<!--
[[Category:{{{1}}}{{{2}}}0s in {{{4}}}| Establishments]]</includeonly><noinclude>
+
Add categories and interwikis to the /doc subpage, please, not here!
{{Documentation}}
+
--></noinclude>
</noinclude>
 

Revision as of 10:00, 13 September 2019