Difference between revisions of "Template:Continent-based templates"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(Update from sandbox (Navbox))
imported>NSH002
(keep all the documented templates out of the hlist tracking category)
Line 3: Line 3:
 
| state = {{{state|{{{1|}}}}}}
 
| state = {{{state|{{{1|}}}}}}
 
| title = Comparison of [[:Category:Continent templates|continent-based templates]]
 
| title = Comparison of [[:Category:Continent templates|continent-based templates]]
 +
| tracking = no <!-- keep all the documented templates out of the hlist tracking category -->
 
| list1 =
 
| list1 =
 
{{{!}} class="wikitable hlist plainrowheaders" style="width:100%;margin:0 auto;padding:0;text-align:center;line-height:1.3em;"
 
{{{!}} class="wikitable hlist plainrowheaders" style="width:100%;margin:0 auto;padding:0;text-align:center;line-height:1.3em;"

Revision as of 13:28, 5 June 2014

Template documentation

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Continent-based templates|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Continent-based templates|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Continent-based templates|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 autocollapse.

See also