Difference between revisions of "Template:British monarchs"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>EhOuiH
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
| state = {{{state|autocollapse}}}
 
| 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|200px]]
 +
| above = ''For the monarchs before 1707, see [[List of English monarchs]] and [[List of Scottish monarchs]].''
  
 
| group1 = [[House of Stuart]]
 
| group1 = [[House of Stuart]]
Line 49: Line 50:
 
[[Category:British monarchs navigational boxes]]
 
[[Category:British monarchs navigational boxes]]
  
[[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]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 19:59, 30 January 2019

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