Difference between revisions of "Template:British Incumbents"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>GoodDay
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
  | name = British Incumbents
 
  | name = British Incumbents
  | title = [[List of British incumbents by year|British incumbents by year]]
+
  | title = [[:Category:Lists of United Kingdom leaders by year|British incumbents by year]]
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
  | listclass = hlist
 
  | listclass = hlist
Line 41: Line 41:
 
* [[List of 2010 British incumbents|2010]]
 
* [[List of 2010 British incumbents|2010]]
 
* [[List of 2011 British incumbents|2011]]
 
* [[List of 2011 British incumbents|2011]]
 +
* [[List of 2012 British incumbents|2012]]
 +
* [[List of 2013 British incumbents|2013]]
 +
* [[List of 2014 British incumbents|2014]]
 +
* [[List of 2015 British incumbents|2015]]
 +
* [[List of 2016 British incumbents|2016]]
 +
* [[List of 2017 British incumbents|2017]]
 +
* [[List of 2018 British incumbents|2018]]
 +
* [[List of 2019 British incumbents|2019]]
 +
* [[List of 2020 British incumbents|2020]]
 +
* [[List of 2021 British incumbents|2021]]
  
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:History and events navigational boxes]]
+
[[Category:United Kingdom history navigational boxes]]
[[Category:Europe political leader navigational boxes]]
+
[[Category:United Kingdom political leader navigational boxes]]
 
</noinclude>
 
</noinclude>

Latest revision as of 01:22, 14 February 2020

Initial visibility: currently defaults to autocollapse

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

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