Jump to content

Template:ccTLD/doc

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by WikiCleanerMan (talk | contribs) at 14:25, 12 October 2024. The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)


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.