Difference between revisions of "Template:Extant Lords of Parliament of Scotland"

From blackwiki
Jump to navigation Jump to search
imported>Obobson
m (Added 'King' and 'Queen' so this is in line with the other British Peerage templates)
imported>Mr Hall of England
 
Line 5: Line 5:
 
|listclass  = hlist
 
|listclass  = hlist
 
|image      = [[File:Coronet of a British Baron.svg|80px]]
 
|image      = [[File:Coronet of a British Baron.svg|80px]]
|group1    = Created by [[James II of Scotland|King James II]]
+
|group1    = [[James II of Scotland|King James II]]
 
|list1      =
 
|list1      =
 
* [[Lord Forbes|Forbes]]
 
* [[Lord Forbes|Forbes]]
Line 12: Line 12:
 
* [[Lord Sinclair|Sinclair]]
 
* [[Lord Sinclair|Sinclair]]
 
* [[Lord Borthwick|Borthwick]]
 
* [[Lord Borthwick|Borthwick]]
|group2    = Created by [[James III of Scotland|King James III]]
+
|group2    = [[James III of Scotland|King James III]]
 
|list2      =
 
|list2      =
 
* [[Lord Lovat|Lovat]]{{note|uk|•}}
 
* [[Lord Lovat|Lovat]]{{note|uk|•}}
|group3    = Created by [[James IV of Scotland|King James IV]]
+
|group3    = [[James IV of Scotland|King James IV]]
 
|list3      =
 
|list3      =
 
* [[Lord Sempill|Sempill]]
 
* [[Lord Sempill|Sempill]]
 
* [[Lord Herries of Terregles|Herries of Terregles]]
 
* [[Lord Herries of Terregles|Herries of Terregles]]
 
* [[Lord Elphinstone|Elphinstone]]{{note|uk|•}}
 
* [[Lord Elphinstone|Elphinstone]]{{note|uk|•}}
|group4    = Created by [[Mary, Queen of Scots|Queen Mary I]]
+
|group4    = [[Mary, Queen of Scots|Queen Mary I]]
 
|list4      =
 
|list4      =
 
* [[Lord Torphichen|Torphichen]]
 
* [[Lord Torphichen|Torphichen]]
|group5    = Created by [[James VI and I|King James VI]]
+
|group5    = [[James VI and I|King James VI]]
 
|list5      =
 
|list5      =
 
* [[Lord Kinloss|Kinloss]]
 
* [[Lord Kinloss|Kinloss]]
 
* [[Lord Balfour of Burleigh|Balfour of Burleigh]]
 
* [[Lord Balfour of Burleigh|Balfour of Burleigh]]
 
* [[Lord Dingwall|Dingwall]]{{note|eng|*}}
 
* [[Lord Dingwall|Dingwall]]{{note|eng|*}}
|group6    = Created by [[Charles I of England|King Charles I]]
+
|group6    = [[Charles I of England|King Charles I]]
 
|list6      =
 
|list6      =
 
* [[Lord Napier|Napier]]{{note|uk|•}}
 
* [[Lord Napier|Napier]]{{note|uk|•}}
Line 35: Line 35:
 
* [[Lord Elibank|Elibank]]
 
* [[Lord Elibank|Elibank]]
 
* [[Lord Belhaven and Stenton|Belhaven and Stenton]]
 
* [[Lord Belhaven and Stenton|Belhaven and Stenton]]
|group7    = Created by [[Charles II of England|King Charles II]]
+
|group7    = [[Charles II of England|King Charles II]]
 
|list7      =
 
|list7      =
 
* [[Lord Rollo|Rollo]]{{note|uk|•}}
 
* [[Lord Rollo|Rollo]]{{note|uk|•}}
|group8    = Created by [[William III of England|King William II]] & [[Mary II of England|Queen Mary II]]
+
|group8    = [[William III of England|King William II]] & [[Mary II of England|Queen Mary II]]
 
|list8      =
 
|list8      =
 
* [[Lord Polwarth|Polwarth]]
 
* [[Lord Polwarth|Polwarth]]

Latest revision as of 18:22, 11 October 2020

Initial visibility: currently defaults to autocollapse

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

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