Difference between revisions of "Template:ISO 3166"
Jump to navigation
Jump to search
imported>Lfdder |
imported>Sardanaphalus (state handling, title and groupname formatting (including ISO 3166-3 link alignment), no unlinked text within linklists, list3 div to ensure padding,moved category etc to {{documentation}}) |
||
| Line 1: | Line 1: | ||
{{Navbox | {{Navbox | ||
| − | | name | + | | name = ISO 3166 |
| − | | title | + | | state = {{{state|{{{1|expanded}}}}}} |
| − | | | + | | title = [[ISO 3166]] codes for the names of countries and their subdivisions</small> |
| + | | groupstyle = text-align:left; | ||
| listclass = hlist | | listclass = hlist | ||
| − | | group1 = [[ISO 3166-1]]<br />{{nobold|country codes}} | + | | above = [[International Organization for Standardization|ISO]] codes for the names of countries and their ([[Administrative division|administrative]]) subdivisions |
| − | | 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 | + | | 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]] | + | * [[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 = Deleted | |
| − | + | | list2 = | |
* [[ISO 3166-2:AN|AN]] | * [[ISO 3166-2:AN|AN]] | ||
| − | * [[ISO 3166-2:CS|CS]] | + | * [[ISO 3166-2:CS|CS]]{{sup|b}} |
}} | }} | ||
| − | | list3 | + | | list3style = background:#ddddff;text-align:left;line-height:1.1em;font-weight:bold; |
| − | | | + | | list3 = <div style="padding:0.15em 0.8em;">[[ISO 3166-3]]<br/>{{nobold|codes for former names of countries}}</div> |
| + | |||
| + | | belowclass = hlist | ||
| + | | below = | ||
| + | * {{sup|a}} Changed from TP | ||
| + | * {{sup|b}} Changed from YU | ||
| + | |||
}} | }} | ||
{{ISO standards}}<noinclude> | {{ISO standards}}<noinclude> | ||
| + | |||
{{documentation}} | {{documentation}} | ||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Revision as of 21:17, 7 April 2014
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}}
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
- {{ISO standards}}
| The above documentation is transcluded from Template:ISO 3166/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |