Difference between revisions of "Template:Extant British viscountcies"

From blackwiki
Jump to navigation Jump to search
imported>Choess
(update V. Davidson)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
|name = British viscounts
 
|name = British viscounts
 
|title = [[List of viscounts in the peerages of the British Isles|British viscounts]]*
 
|title = [[List of viscounts in the peerages of the British Isles|British viscounts]]*
 +
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
  
Line 131: Line 132:
  
 
|below = ''*Current [[Substantive title|substantive]] viscounts, listed by precedence, from highest to lowest''
 
|below = ''*Current [[Substantive title|substantive]] viscounts, listed by precedence, from highest to lowest''
}}<noinclude>[[Category:British viscounts]]
+
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:British viscounts]]
 
[[Category:British peerage templates|Viscounts, British]]</noinclude>
 
[[Category:British peerage templates|Viscounts, British]]</noinclude>

Revision as of 02:48, 5 January 2013

Initial visibility: currently defaults to autocollapse

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

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