Difference between revisions of "Template:CcTLD"
Jump to navigation
Jump to search
imported>Wonder al |
imported>Paine Ellsworth (convert to /doc page + update parameters and format) |
||
| Line 1: | Line 1: | ||
{{Navbox with collapsible groups | {{Navbox with collapsible groups | ||
|name = CcTLD | |name = CcTLD | ||
| − | |state = {{{state| | + | |state = {{{state|expanded}}} |
|title = [[Country code top-level domain]]s | |title = [[Country code top-level domain]]s | ||
| − | + | |selected = {{{selected|{{{1|}}}}}} | |
| − | |selected = {{{1|}}} | + | |
| − | |||
|group1 = [[ISO 3166-1 alpha-2|ISO 3166-1]] | |group1 = [[ISO 3166-1 alpha-2|ISO 3166-1]] | ||
| − | |state1 = {{{iso3166-1| | + | |state1 = {{{iso3166-1|expanded}}} |
|abbr1 = ISO 3166-1 | |abbr1 = ISO 3166-1 | ||
|list1 = <div> | |list1 = <div> | ||
| Line 38: | Line 37: | ||
|group2 = [[Internationalized country code top-level domain|Internationalized (IDN) ccTLD]] | |group2 = [[Internationalized country code top-level domain|Internationalized (IDN) ccTLD]] | ||
| + | |state2 = <noinclude>expanded</noinclude> | ||
|abbr2 = IDN | |abbr2 = IDN | ||
|list2 = | |list2 = | ||
| Line 110: | Line 110: | ||
|group3 = [[Proposed top-level domain#Internationalized country code top-level domains|Proposed ccTLDs]] | |group3 = [[Proposed top-level domain#Internationalized country code top-level domains|Proposed ccTLDs]] | ||
| + | |state3 = <noinclude>expanded</noinclude> | ||
|abbr3 = Proposed | |abbr3 = Proposed | ||
|list3 = | |list3 = | ||
| Line 118: | Line 119: | ||
|group4 = Others | |group4 = Others | ||
| + | |state4 = <noinclude>expanded</noinclude> | ||
|abbr4 = Others | |abbr4 = Others | ||
|list4 = | |list4 = | ||
| Line 133: | Line 135: | ||
|below = See also: [[Generic top-level domain]]s | |below = See also: [[Generic top-level domain]]s | ||
| + | |||
}}<noinclude> | }}<noinclude> | ||
| − | {{ | + | {{Documentation}} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Revision as of 22:46, 5 August 2018
Initial visibility: currently defaults to expanded
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{CcTLD|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{CcTLD|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{CcTLD|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.
How to manage this template's collapsible groups/sections option
- This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter
|namewhere name is one of the following words that identify the groups/sections (omit any speech or quotation marks): - ISO 3166-1
- IDN
- Proposed
- Others
- For example:
{{CcTLD |IDN}}
By default, list1 ("ISO 3166-1") is shown in articles as expanded. To show it collapsed, include |iso3166-1=collapsed when transcluding the template.
| The above documentation is transcluded from Template:CcTLD/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. |