Template:ccTLD/doc
Appearance
This is a documentation subpage for Template:CcTLD. It may contain usage information, categories and other content that is not part of the original template page. |
This template's initial visibility currently defaults to autocollapse
, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.
To change this template's initial visibility, the |state=
parameter may be used:
{{CcTLD|state=collapsed}}
will show the template collapsed, i.e. hidden apart from its title bar.{{CcTLD|state=expanded}}
will show the template expanded, i.e. fully visible.{{CcTLD|state=autocollapse}}
will show the template autocollapsed, i.e. if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar, but if not, it is fully visible.
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
|name
where 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/doc |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.