Difference between revisions of "Template:CookIsPMs"

From blackwiki
Jump to navigation Jump to search
(Smaller dots (like other Wikipedia templates) -- {{Float}}ing flag so list of names remains centred)
imported>IdiotSavant
(Mark Brown)
 
(14 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = CookIsPMs
+
| name = CookIsPMs
|title = [[Prime Minister of the Cook Islands|Prime Ministers of the Cook Islands]]
+
| title = {{flagicon|Cook Islands}} [[Prime Minister of the Cook Islands|Prime Ministers of the Cook Islands]]
|titlestyle = background:#b0c4de<!--LightSteelBlue-->;
+
| state = <includeonly>collapsed</includeonly>
|list1 = <div>
+
| listclass = hlist
{{float|top=-0.3em|[[Image:Flag of the Cook Islands.svg|50px|Flag of the Cook Islands]]}}
+
 
[[Albert Henry|Henry]]{{·}} [[Tom Davis (politician)|Davis]]{{·}} [[Geoffrey Henry|Henry]]{{·}} [[Tom Davis (politician)|Davis]]{{·}} [[Pupuke Robati|Robati]]{{·}} [[Geoffrey Henry|Henry]]{{·}} [[Joe Williams (Cook Islands)|Williams]]{{·}} [[Terepai Maoate|Maoate]]{{·}} [[Robert Woonton|Woonton]]{{·}} [[Jim Marurai|Marurai]]
+
| group1 = Leader of Government Business
</div>
+
| list1 =
 +
*[[Dick Charles Brown]] (1963–65)
 +
 
 +
| group2 = Premier
 +
| list2 =
 +
*[[Albert Henry (politician)|Albert Henry]] (1965–78)
 +
*[[Thomas Davis (Cook Islands politician)|Thomas Davis]] (1978–81)
 +
 
 +
| group3 = Prime Minister
 +
|list3 =
 +
*[[Thomas Davis (Cook Islands politician)|Thomas Davis]] (1981–83)
 +
*[[Geoffrey Henry]] (1983)
 +
*[[Thomas Davis (Cook Islands politician)|Thomas Davis]] (1983–87)
 +
*[[Pupuke Robati]] (1987–89)
 +
*[[Geoffrey Henry]] (1989–99)
 +
*[[Joe Williams (Cook Islands politician)|Joe Williams]] (1999)
 +
*[[Terepai Maoate]] (1999–2002)
 +
*[[Robert Woonton]] (2002–04)
 +
*[[Jim Marurai]] (2004–10)
 +
*[[Henry Puna]] (2010–20)
 +
*[[Mark Brown (Cook Islands)|Mark Brown]] (2020–)
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
  
[[Category:Oceania political leader templates|{{PAGENAME}}]]
+
[[Category:Oceania political leader navigational boxes]]
 
[[Category:Prime Ministers of the Cook Islands|τ]]
 
[[Category:Prime Ministers of the Cook Islands|τ]]
 
</noinclude>
 
</noinclude>

Latest revision as of 06:54, 1 October 2020

Initial visibility: currently defaults to autocollapse

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

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