Difference between revisions of "Template:Estcatsubcountry/doc"

From blackwiki
Jump to navigation Jump to search
imported>Fayenatic london
imported>BrownHairedGirl
(now supports optional sort key)
Line 3: Line 3:
  
 
== Usage ==
 
== Usage ==
'''<nowiki>{{</nowiki>Estcatsubcountry|'''''YYY|Y|Name (not type!) of subdivision (state, province, department)|country''}}
+
'''<nowiki>{{</nowiki>Estcatsubcountry|'''''YYY|Y|Name (not type!) of subdivision (state, province, department)|country|optional sort key]''}}
  
;Example
+
;Examples
  
 
'''<nowiki>{{</nowiki>Estcatsubcountry|200|7|Alberta|Canada<nowiki>}}</nowiki>'''
 
'''<nowiki>{{</nowiki>Estcatsubcountry|200|7|Alberta|Canada<nowiki>}}</nowiki>'''
 +
 +
With optional sort key
 +
 +
'''<nowiki>{{Estcatsubcountry|201|9|the Valencian Community|Spain|Valencian Community}}</nowiki>'''
  
 
== See also==
 
== See also==

Revision as of 14:25, 30 June 2019

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|YYY|Y|Name (not type!) of subdivision (state, province, department)|country|optional sort key]}}

Examples

{{Estcatsubcountry|200|7|Alberta|Canada}}

With optional sort key

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

See also