Difference between revisions of "Template:Dukes of Lancaster"

From blackwiki
Jump to navigation Jump to search
imported>Piccadilly
(removed category. I will add the categories manually so they can be added in a sensible place in the list of categories.)
imported>Addbot
m (Bot: Migrating interwiki links, now provided by Wikidata on d:q14399654)
 
(14 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Navigation
+
{{Navbox
|templateName=Dukes of Lancaster
+
| name      = Dukes of Lancaster
|header=[[Duke of Lancaster|Dukes of Lancaster]]
+
| title    = [[Duke of Lancaster|Dukes of Lancaster]]
|color=#ffbbbb
+
| state    = {{{state|autocollapse}}}
|body='''[[Elizabeth II of the United Kingdom|HM The Queen]]'''
+
| listclass = hlist
  
''merged in crown'' · [[Henry V of England|Henry V]] ''([[1399]]-[[1413]])'' · [[Henry IV of England|Henry IV]] ''([[1399]])'' · [[John of Gaunt, 1st Duke of Lancaster|John of Gaunt]] ''([[1362]]-[[1399]])'' · [[Henry of Grosmont, 1st Duke of Lancaster|Henry of Grosmont]] ''([[1351]]-[[1361]])''
+
| list1 =
|category =
+
* '''[[Elizabeth II|HM The Queen]]'''
 +
 
 +
* [[Henry of Grosmont, 1st Duke of Lancaster|Henry of Grosmont]] (1351–1361)
 +
* [[John of Gaunt, 1st Duke of Lancaster|John of Gaunt]] (1362–1399)
 +
* [[Henry IV of England|Henry IV]] (1399)
 +
* [[Henry V of England|Henry V]] (1399–1413 – merged in crown)
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 +
 
[[Category:British royal titles templates|Lancaster, Dukes of]]
 
[[Category:British royal titles templates|Lancaster, Dukes of]]
 
[[Category:English royal titles templates|Lancaster, Dukes of]]
 
[[Category:English royal titles templates|Lancaster, Dukes of]]
 +
 
</noinclude>
 
</noinclude>

Latest revision as of 04:02, 5 August 2013

Initial visibility: currently defaults to autocollapse

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

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