Difference between revisions of "Template:Islands of Trinidad and Tobago"

From blackwiki
Jump to navigation Jump to search
imported>Davemck
m (rmv duplicate parm)
imported>744cody
 
Line 4: Line 4:
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
| titlestyle = background: white; {{box-shadow border|a|#C8102E|2px}}
+
| titlestyle = background: white; {{box-shadow border|a|c1=#C8102E|c2=black|w=2px}}
| basestyle  = background: white; {{box-shadow border|a|#C8102E|2px}}
+
| basestyle  = background: white; {{box-shadow border|a|c1=#C8102E|c2=black|w=2px}}
 
| image = [[Image:Flag of Trinidad and Tobago.svg|64px|right|Flag of Trinidad and Tobago]]
 
| image = [[Image:Flag of Trinidad and Tobago.svg|64px|right|Flag of Trinidad and Tobago]]
 
| group1 = Major Islands   
 
| group1 = Major Islands   

Latest revision as of 12:09, 19 October 2020

Initial visibility: currently defaults to autocollapse

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

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