Difference between revisions of "Template:Estcatsubcountry/doc"

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

Revision as of 16:26, 27 August 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|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