Difference between revisions of "Template:Danish princes"

From blackwiki
Jump to navigation Jump to search
imported>Jonesey95
(Fix Linter errors. Fix too small font per MOS:FONTSIZE)
(Per Template talk:Austrian archduchesses, removed ones without articles)
Line 7: Line 7:
 
|above = The generations are numbered from the implementation of hereditary monarchy by [[Frederick III of Denmark|Frederick III]] in 1660.  
 
|above = The generations are numbered from the implementation of hereditary monarchy by [[Frederick III of Denmark|Frederick III]] in 1660.  
  
|group1 = 1st generation
+
|group1 = 1st generation includes
 
|list1  =
 
|list1  =
 
* [[Christian V of Denmark|King Christian V]]{{note label|1|1}}
 
* [[Christian V of Denmark|King Christian V]]{{note label|1|1}}
* Prince Frederick{{note label|1|1}}
 
 
* [[Prince George of Denmark|Prince George, Duke of Cumberland]]{{note label|1|1}}
 
* [[Prince George of Denmark|Prince George, Duke of Cumberland]]{{note label|1|1}}
  
|group2 = 2nd generation
+
|group2 = 2nd generation includes
 
|list2  =
 
|list2  =
 
* [[Frederick IV of Denmark|King Frederick IV]]{{note label|1|1}}
 
* [[Frederick IV of Denmark|King Frederick IV]]{{note label|1|1}}
* Prince Christian William{{note label|1|1}}
 
 
* [[Prince Christian of Denmark (1675–1695)|Prince Christian]]{{note label|1|1}}
 
* [[Prince Christian of Denmark (1675–1695)|Prince Christian]]{{note label|1|1}}
 
* [[Prince Charles of Denmark|Prince Charles]]{{note label|1|1}}
 
* [[Prince Charles of Denmark|Prince Charles]]{{note label|1|1}}
 
* [[Prince William of Denmark|Prince William]]{{note label|1|1}}
 
* [[Prince William of Denmark|Prince William]]{{note label|1|1}}
 
* [[Prince William, Duke of Gloucester]]{{note label|1|1}}
 
* [[Prince William, Duke of Gloucester]]{{note label|1|1}}
* Prince George{{note label|1|1}}
 
* Prince Charles{{note label|1|1}}
 
  
|group3 = 3rd generation
+
|group3 = 3rd generation includes
 
|list3  =  
 
|list3  =  
* Prince Christian{{note label|1|1}}
 
 
* [[Christian VI of Denmark|King Christian VI]]{{note label|1|1}}
 
* [[Christian VI of Denmark|King Christian VI]]{{note label|1|1}}
* Prince Frederik Charles{{note label|1|1}}
 
* Prince George{{note label|1|1}}
 
* Prince Frederik Christian{{note label|1|1}}
 
* Prince Charles{{note label|1|1}}
 
  
 
|group4 = 4th generation
 
|group4 = 4th generation
Line 37: Line 28:
 
* [[Frederick V of Denmark|King Frederick V]]{{note label|1|1}}
 
* [[Frederick V of Denmark|King Frederick V]]{{note label|1|1}}
  
|group5 = 5th generation
+
|group5 = 5th generation includes
 
|list5  =  
 
|list5  =  
* Prince Christian{{note label|1|1}}
 
 
* [[Christian VII of Denmark|King Christian VII]]{{note label|1|1}}
 
* [[Christian VII of Denmark|King Christian VII]]{{note label|1|1}}
 
* [[Frederick, Hereditary Prince of Denmark|Hereditary Prince Frederick]]{{note label|1|1}}
 
* [[Frederick, Hereditary Prince of Denmark|Hereditary Prince Frederick]]{{note label|1|1}}
Line 49: Line 39:
 
* [[Ferdinand, Hereditary Prince of Denmark|Hereditary Prince Ferdinand]]{{note label|1|1}}
 
* [[Ferdinand, Hereditary Prince of Denmark|Hereditary Prince Ferdinand]]{{note label|1|1}}
  
|group7 = 7th generation
+
|group7 = 7th generation includes
 
|list7  =  
 
|list7  =  
* Prince Christian{{note label|1|1}}
 
* Prince Christian{{note label|1|1}}
 
 
* [[Frederick VII of Denmark|King Frederick VII]]{{note label|1|1}}
 
* [[Frederick VII of Denmark|King Frederick VII]]{{note label|1|1}}
 
* [[Christian IX of Denmark|King Christian IX]]{{note label|5|5}}
 
* [[Christian IX of Denmark|King Christian IX]]{{note label|5|5}}
Line 101: Line 89:
 
* [[Constantine II of Greece|King Constantine II of Greece]]{{note label|2|2}}
 
* [[Constantine II of Greece|King Constantine II of Greece]]{{note label|2|2}}
  
|group12 = 12th generation
+
|group12 = 12th generation includes
 
|list12  =
 
|list12  =
 
* [[Frederik, Crown Prince of Denmark|Crown Prince Frederik]]
 
* [[Frederik, Crown Prince of Denmark|Crown Prince Frederik]]
Line 107: Line 95:
 
* [[Pavlos, Crown Prince of Greece|Crown Prince Pavlos of Greece]]{{note label|2|2}}
 
* [[Pavlos, Crown Prince of Greece|Crown Prince Pavlos of Greece]]{{note label|2|2}}
 
* [[Prince Nikolaos of Greece and Denmark|Prince Nikolaos]]{{note label|2|2}}
 
* [[Prince Nikolaos of Greece and Denmark|Prince Nikolaos]]{{note label|2|2}}
* Prince Philippos{{note label|2|2}}
 
  
|group13 = 13th generation
+
|group13 = 13th generation includes
 
|list13  =
 
|list13  =
 
* [[Prince Christian of Denmark|Prince Christian]]
 
* [[Prince Christian of Denmark|Prince Christian]]
Line 118: Line 105:
 
* [[Prince Constantine Alexios of Greece and Denmark|Prince Constantine-Alexios]]{{note label|2|2}}
 
* [[Prince Constantine Alexios of Greece and Denmark|Prince Constantine-Alexios]]{{note label|2|2}}
 
* [[Prince Achileas-Andreas of Greece and Denmark|Prince Achileas-Andreas]]{{note label|2|2}}
 
* [[Prince Achileas-Andreas of Greece and Denmark|Prince Achileas-Andreas]]{{note label|2|2}}
* Prince Odysseas-Kimon{{note label|2|2}}
 
* Prince Aristide-Stavros{{note label|2|2}}
 
  
 
|below  = {{note label|1|1}} Also prince of Norway<br/>{{note label|2|2}} Also prince of Greece<br/>{{note label|3|3}} Also prince of Iceland<br/>{{note label|4|4}} Also prince of the United Kingdom<br />{{note label|5|5}} Not Danish prince by birth, but created prince of Denmark<br />''Princes that lost their title following an unequal marriage are shown in italics''
 
|below  = {{note label|1|1}} Also prince of Norway<br/>{{note label|2|2}} Also prince of Greece<br/>{{note label|3|3}} Also prince of Iceland<br/>{{note label|4|4}} Also prince of the United Kingdom<br />{{note label|5|5}} Not Danish prince by birth, but created prince of Denmark<br />''Princes that lost their title following an unequal marriage are shown in italics''

Revision as of 19:00, 8 June 2020


Initial visibility: currently defaults to autocollapse

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

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