Difference between revisions of "Template:Dukes of Edinburgh"

From blackwiki
Jump to navigation Jump to search
imported>DBD
m (rem cat)
imported>Comrade John
 
(24 intermediate revisions by 18 users not shown)
Line 1: Line 1:
{{Navigation
+
{{Navbox
|templateName=Dukes of Edinburgh
+
|name = Dukes of Edinburgh
|header=[[Duke of Edinburgh|Dukes of Edinburgh]]
+
|title = [[Duke of Edinburgh|Dukes of Edinburgh]]
|color=#ddccff
+
|state = {{{state|autocollapse}}}
|body='''[[Prince Philip, Duke of Edinburgh|HRH The Duke of Edinburgh]]'''
+
|listclass = hlist
 +
|list1 =  
 +
* [[Frederick, Prince of Wales|Frederick]] ''(1726–1751)''
 +
* [[George III of the United Kingdom|George]] ''(1751–1760)''
 +
* ''[[Duke of Gloucester and Edinburgh|Dukes of Gloucester and Edinburgh]] (1764–1834)''
 +
* [[Alfred, Duke of Saxe-Coburg and Gotha|Alfred]] ''(1866–1900)''
 +
* [[Prince Philip, Duke of Edinburgh|Philip]] ''(1947–present)''
  
[[Alfred, Duke of Saxe-Coburg and Gotha|Prince Alfred]] ''([[1866]]-[[1900]])'' · [[Prince William Frederick, Duke of Gloucester and Edinburgh|Prince William Frederick]] ''([[1805]]-[[1834]])'' · [[Prince William Henry, Duke of Gloucester and Edinburgh|Prince William Henry]] ''([[1764]]-[[1805]])'' · [[George III of the United Kingdom|George III]] ''([[1751]]-[[1760]])'' · [[Frederick, Prince of Wales|Prince Frederick]] ''([[1726]]-[[1751]])''
 
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:British royal titles templates|Edinburgh, Dukes of]]
 
[[Category:British royal titles templates|Edinburgh, Dukes of]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:12, 6 October 2019

Initial visibility: currently defaults to autocollapse

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

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