Difference between revisions of "Template:Dukes of York"

From blackwiki
Jump to navigation Jump to search
imported>Woodensuperman
imported>Woodensuperman
Line 3: Line 3:
 
|title = [[Duke of York|Dukes of York]]
 
|title = [[Duke of York|Dukes of York]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
|listclass = hlist
+
|bodyclass = hlist
 +
 
 
|list1 =  
 
|list1 =  
 
* [[Edmund of Langley, 1st Duke of York|Edmund of Langley]] (1385–1402)
 
* [[Edmund of Langley, 1st Duke of York|Edmund of Langley]] (1385–1402)
Line 13: Line 14:
 
* [[Charles I of England|Charles]] (1605–1625)
 
* [[Charles I of England|Charles]] (1605–1625)
 
* [[James II of England|James]] (1633/1644–1685)
 
* [[James II of England|James]] (1633/1644–1685)
* [[Duke of York and Albany|Dukes of York and Albany]] (18th century)
+
* ''[[Ernest Augustus, Duke of York and Albany|Ernest Augustus]] (1716–1728)''
 +
* ''[[Prince Edward, Duke of York and Albany|Edward]] (1760–1767)''
 +
* ''[[Prince Frederick, Duke of York and Albany|Frederick]] (1784–1827)''
 
* [[George V|George]] (1892–1910)
 
* [[George V|George]] (1892–1910)
 
* [[George VI|Albert]] (1920–1936)
 
* [[George VI|Albert]] (1920–1936)
 
* [[Prince Andrew, Duke of York|Andrew]] (1986–present)
 
* [[Prince Andrew, Duke of York|Andrew]] (1986–present)
 +
| below = italics denote [[Duke of York and Albany|Dukes of York and Albany]]
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Revision as of 10:27, 9 May 2019

Initial visibility: currently defaults to autocollapse

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

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