Difference between revisions of "Template:Dukes of Kent"

From blackwiki
Jump to navigation Jump to search
imported>DBD
m
imported>Ham II
m (fixed dashes using a script)
 
(18 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{Navigation
+
{{Navbox
|templateName=Dukes of Kent
+
|name = Dukes of Kent
|header=[[Duke of Kent|Dukes of Kent]]
+
|title = [[Duke of Kent|Dukes of Kent]]
|color=#ddccff
+
|state = {{{state|autocollapse}}}
|body='''[[Prince Edward, Duke of Kent|HRH Prince Edward, Duke of Kent]]'''
+
|listclass = hlist
 +
|list1 =  
 +
* [[Henry Grey, 1st Duke of Kent|Henry Grey]] (1710–1740)
 +
* ''[[Prince Edward, Duke of Kent and Strathearn|Duke of Kent and Strathearn]]'' (1799–1820)
 +
* [[Prince George, Duke of Kent|George]] (1934–1942)
 +
* [[Prince Edward, Duke of Kent|Edward]] (1942–)
 +
}}<noinclude>
 +
{{collapsible option}}
  
[[Prince George, Duke of Kent|Prince George]] ''([[1934]]-[[1942]])'' · [[Prince Edward Augustus, Duke of Kent and Strathearn|Prince Edward Augustus]] ''([[1799]]-[[1820]])'' · [[Henry Grey, 1st Duke of Kent|Henry Grey]] ''([[1710]]-[[1740]])''
 
}}<noinclude>
 
 
[[Category:British royal titles templates|Kent, Dukes of]]
 
[[Category:British royal titles templates|Kent, Dukes of]]
 +
 
</noinclude>
 
</noinclude>

Latest revision as of 09:02, 26 April 2020

Initial visibility: currently defaults to autocollapse

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

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