Difference between revisions of "Template:Caribbean topics"

From blackwiki
Jump to navigation Jump to search
imported>Magioladitis
m (clean up using AWB (8413))
(state handling update)
Line 3: Line 3:
 
| title = [[File:Caribbean map blank.png|20x19px|link=|alt=]] [[Caribbean]] [[Outline of the Caribbean|topics]]
 
| title = [[File:Caribbean map blank.png|20x19px|link=|alt=]] [[Caribbean]] [[Outline of the Caribbean|topics]]
 
| listclass = hlist
 
| listclass = hlist
| state = <includeonly>{{{state|collapsed}}}</includeonly>
+
| state = <includeonly>{{{1|{{{state|collapsed}}}}}}</includeonly>
  
 
| group1 = [[History of the Caribbean|History]]
 
| group1 = [[History of the Caribbean|History]]
Line 170: Line 170:
 
}}<noinclude>
 
}}<noinclude>
  
{{collapsible option}}
+
<br/>{{collapsible option}}
 +
Note: It's now possible to omit the "state=".
  
 
[[Category:Caribbean navigational boxes]]
 
[[Category:Caribbean navigational boxes]]

Revision as of 02:37, 25 November 2012


Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Caribbean topics|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Caribbean topics|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Caribbean topics|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. Note: It's now possible to omit the "state=". ru:Шаблон:Канада в темах