Difference between revisions of "Template:Estcatsubcountry/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>BrownHairedGirl
(test parameterless version)
imported>BrownHairedGirl
(fix)
 
Line 12: Line 12:
 
{{#ifexpr: {{Title year}} < 1000<!--
 
{{#ifexpr: {{Title year}} < 1000<!--
 
     -->|[[Category:Establishments in {{{1}}} by year{{!}}0{{Title year}}]]<!--
 
     -->|[[Category:Establishments in {{{1}}} by year{{!}}0{{Title year}}]]<!--
−
     -->|[[Category:Establishments in {{{1}}} by year]|{{!}}{{Title year}}]<!--
+
     -->|[[Category:Establishments in {{{1}}} by year{{!}}{{Title year}}]]<!--
 
-->}}
 
-->}}
 
[[Category:{{Title year}} in {{{1}}}|/Establishments]]
 
[[Category:{{Title year}} in {{{1}}}|/Establishments]]

Latest revision as of 15:54, 27 August 2019

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

This template is a modified version of Template:EstcatCountry, to be used with any subdivision of a country (for the US, we have the older Template:EstcatUSstate but this one can be used as well), or region of a continent

Usage

{{Estcatsubcountry|Name (not type!) of subdivision (state, province, department)|country|optional sort key}}

Examples

{{Estcatsubcountry|Alberta|Canada}}

With optional sort key

{{Estcatsubcountry|the Valencian Community|Spain|Valencian Community}}

See also