Difference between revisions of "Template:ISO 3166"

From blackwiki
Jump to navigation Jump to search
imported>Lfdder
imported>Danski454
m (readded noinclude tag)
 
(12 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name   = ISO 3166
+
| name = ISO 3166
| title = [[ISO 3166]] <small>codes for the names of countries and their subdivisions</small>
+
| state = {{{state|{{{1|autocollapse}}}}}}
| state  = {{{state|uncollapsed}}}
+
| title = [[ISO 3166]] – Codes for the representation of names of countries and their subdivisions
| listclass = hlist
+
| groupstyle = text-align:left;
 +
| bodyclass = hlist
  
| group1 = [[ISO 3166-1]]<br />{{nobold|country codes}}
+
| above = '''[[List of ISO 3166 country codes]]'''
| list1 =
+
 
 +
| group1 = [[ISO 3166-1]]<br/>{{nobold|country codes}}
 +
| list1 =
 
* [[ISO 3166-1 alpha-2|alpha-2]]
 
* [[ISO 3166-1 alpha-2|alpha-2]]
 
* [[ISO 3166-1 alpha-3|alpha-3]]
 
* [[ISO 3166-1 alpha-3|alpha-3]]
 
* [[ISO 3166-1 numeric|numeric]]
 
* [[ISO 3166-1 numeric|numeric]]
  
| group2 = [[ISO 3166-2]]<br />{{nobold|country subdivision codes}}
+
| group2 = [[ISO 3166-2]]<br/>{{nobold|country subdivision codes}}
| list2  = {{Navbox|child
+
| list2 =
 +
  {{Navbox |child |groupstyle=font-weight:normal;
 
  | list1 =
 
  | list1 =
 
* [[ISO 3166-2:AD|AD]]
 
* [[ISO 3166-2:AD|AD]]
Line 234: Line 238:
 
* [[ISO 3166-2:TJ|TJ]]
 
* [[ISO 3166-2:TJ|TJ]]
 
* [[ISO 3166-2:TK|TK]]
 
* [[ISO 3166-2:TK|TK]]
* [[ISO 3166-2:TL|TL]] (changed from TP)
+
* [[ISO 3166-2:TL|TL]]{{sup|a}}
 
* [[ISO 3166-2:TM|TM]]
 
* [[ISO 3166-2:TM|TM]]
 
* [[ISO 3166-2:TN|TN]]
 
* [[ISO 3166-2:TN|TN]]
Line 264: Line 268:
 
* [[ISO 3166-2:ZW|ZW]]
 
* [[ISO 3166-2:ZW|ZW]]
  
| group2 = {{nobold|Deleted}}
+
  | group2 = Deleted
| list2 =
+
  | list2 =
 
* [[ISO 3166-2:AN|AN]]
 
* [[ISO 3166-2:AN|AN]]
* [[ISO 3166-2:CS|CS]] (changed from YU)
+
* [[ISO 3166-2:CS|CS]]{{sup|b}}
 
  }}
 
  }}
  
| list3  = [[ISO 3166-3]]<br />{{nobold|codes for formerly used names of countries}}
+
| group3 = [[ISO 3166-3]]<br/>{{nobold|codes for former names of countries}}
| list3style = background: #ddddff; padding: 0.25em 1em; font-weight: bold; line-height: 1.5em;
+
| list3 =  
}}
+
* [[ISO_3166-3#Current_codes|List]]
{{ISO standards}}<noinclude>
+
 
 +
| below =
 +
* {{sup|a}} Changed from TP
 +
* {{sup|b}} Changed from YU
 +
 
 +
}}<noinclude>
 +
 
 
{{documentation}}
 
{{documentation}}
[[Category:ISO 3166|Template:ISO 3166]]
 
[[fr:Modèle:ISO 3166]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 20:19, 28 June 2019

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

Initial visibility: currently defaults to expanded

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{ISO 3166|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{ISO 3166|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{ISO 3166|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to expanded.

See also