Difference between revisions of "Template:ISO 3166"

From blackwiki
Jump to navigation Jump to search
imported>Lfdder
imported>Lfdder
Line 1: Line 1:
{{Navbox with collapsible groups
+
{{Navbox
 
| name  = ISO 3166
 
| name  = ISO 3166
 
| title  = [[ISO 3166]] <small>– codes for the names of countries and their subdivisions</small>
 
| title  = [[ISO 3166]] <small>– codes for the names of countries and their subdivisions</small>
Line 5: Line 5:
 
| listclass = hlist
 
| listclass = hlist
  
| state1 = uncollapsed
+
| group1 = [[ISO 3166-1]]<br />{{nobold|country codes}}
| group1 = [[ISO 3166-1]] <small>country codes</small>
 
 
| list1  =
 
| list1  =
 
* [[ISO 3166-1 alpha-2|alpha-2]]
 
* [[ISO 3166-1 alpha-2|alpha-2]]
Line 12: Line 11:
 
* [[ISO 3166-1 numeric|numeric]]
 
* [[ISO 3166-1 numeric|numeric]]
  
| state2 = uncollapsed
+
| group2 = [[ISO 3166-2]]<br />{{nobold|country subdivision codes}}
| group2 = [[ISO 3166-2]] <small>country subdivision codes</small>
 
 
| list2  = {{Navbox|child
 
| list2  = {{Navbox|child
 
  | list1 =
 
  | list1 =
Line 236: Line 234:
 
* [[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]] (<small>changed from TP</small>)
+
* [[ISO 3166-2:TL|TL]] (changed from TP)
 
* [[ISO 3166-2:TM|TM]]
 
* [[ISO 3166-2:TM|TM]]
 
* [[ISO 3166-2:TN|TN]]
 
* [[ISO 3166-2:TN|TN]]
Line 269: Line 267:
 
  | list2  =
 
  | list2  =
 
* [[ISO 3166-2:AN|AN]]
 
* [[ISO 3166-2:AN|AN]]
* [[ISO 3166-2:CS|CS]] (<small>changed from YU</small>)
+
* [[ISO 3166-2:CS|CS]] (changed from YU)
 
  }}
 
  }}
  
| belowstyle = font-weight: bold;
+
| list3 = [[ISO 3166-3]]<br />{{nobold|codes for formerly used names of countries}}
| below = <span style="font-size: 110%;">[[ISO 3166-3]]<small> codes for formerly used names of countries</small></span>
+
| list3style = background: #ddddff; padding: 0.25em 1em; font-weight: bold; line-height: 1.5em;
 
}}
 
}}
 
{{ISO standards}}<noinclude>
 
{{ISO standards}}<noinclude>

Revision as of 16:12, 14 September 2013

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

fr:Modèle:ISO 3166