Difference between revisions of "Template:British monarchs"

From blackwiki
Jump to navigation Jump to search
imported>DrKay
(clearer)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
| name  = British monarchs
 
| name  = British monarchs
 
| title = [[List of British monarchs|British monarchs]]
 
| title = [[List of British monarchs|British monarchs]]
 +
| state = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
 
| image = [[File:Royal Coat of Arms of the United Kingdom (Both Realms).svg|140px]]
 
| image = [[File:Royal Coat of Arms of the United Kingdom (Both Realms).svg|140px]]
Line 30: Line 31:
 
* [[Elizabeth II]]
 
* [[Elizabeth II]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
  
 
==See also==
 
==See also==

Revision as of 02:39, 13 December 2012

Initial visibility: currently defaults to autocollapse

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

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

be:Шаблон:Манархі Вялікабрытаніі cs:Šablona:Britští panovníci el:Πρότυπο:Βρετανοί μονάρχες lv:Veidne:Lielbritānijas monarhi lt:Šablonas:Jungtinės Karalystės valdovai ja:Template:連合王国国王 ru:Шаблон:Монархи Великобритании th:แม่แบบ:พระมหากษัตริย์สหราชอาณาจักร yo:Àdàkọ:British monarchs