Difference between revisions of "Template:Dukes of Edinburgh"

From blackwiki
Jump to navigation Jump to search
imported>Ms2ger
m
imported>Comrade John
 
(20 intermediate revisions by 16 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]]
|body=
+
|state = {{{state|autocollapse}}}
{{nowrap|[[Frederick, Prince of Wales|Prince Frederick]] ([[1726]]-[[1751]])}}{{·}}
+
|listclass = hlist
{{nowrap|[[George III of the United Kingdom|George III]] ([[1751]]-[[1760]])}}{{·}}
+
|list1 =
{{nowrap|[[Prince William Henry, Duke of Gloucester and Edinburgh|Prince William Henry]] ([[1764]]-[[1805]])}}{{·}}
+
* [[Frederick, Prince of Wales|Frederick]] ''(1726–1751)''
{{nowrap|[[Prince William Frederick, Duke of Gloucester and Edinburgh|Prince William Frederick]] ([[1805]]-[[1834]])}}{{·}}
+
* [[George III of the United Kingdom|George]] ''(1751–1760)''
{{nowrap|[[Alfred, Duke of Saxe-Coburg and Gotha|Prince Alfred]] ([[1866]]-[[1900]])}}{{·}}
+
* ''[[Duke of Gloucester and Edinburgh|Dukes of Gloucester and Edinburgh]] (1764–1834)''
{{nowrap|[[Prince Philip, Duke of Edinburgh|HRH The Prince Philip, Duke of Edinburgh]] (1947–present)}}
+
* [[Alfred, Duke of Saxe-Coburg and Gotha|Alfred]] ''(1866–1900)''
 +
* [[Prince Philip, Duke of Edinburgh|Philip]] ''(1947–present)''
 +
 
 
}}<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.