Difference between revisions of "Template:Flores Department"

From blackwiki
Jump to navigation Jump to search
imported>Alarbus
(use listclass = hlist in navbox as per WP:HLIST)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{collapse_state}}})
Line 3: Line 3:
 
| title = [[File:Flag of Flores Department.png|20px]] [[Flores Department]] of [[Uruguay]]
 
| title = [[File:Flag of Flores Department.png|20px]] [[Flores Department]] of [[Uruguay]]
 
| listclass = hlist
 
| listclass = hlist
| state = collapsed
+
| state = {{{state<includeonly>|collapsed</includeonly>}}}
  
 
| above = Capital: '''[[Trinidad, Uruguay|Trinidad]]'''
 
| above = Capital: '''[[Trinidad, Uruguay|Trinidad]]'''
Line 19: Line 19:
 
*  
 
*  
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
  
 
[[Category:Uruguay subdivision templates]]
 
[[Category:Uruguay subdivision templates]]

Revision as of 02:30, 1 May 2013

Initial visibility: currently defaults to autocollapse

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

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