Difference between revisions of "Template:Mayors in New Zealand"

From blackwiki
Jump to navigation Jump to search
(Shorter groupnames, subgroups, index)
imported>Paewiki
m
 
(34 intermediate revisions by 12 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = Mayors in New Zealand
+
| name = Mayors in New Zealand
|title = [[Mayors in New Zealand|Mayors]] in [[New Zealand]]
+
| title = [[Mayors in New Zealand|Mayors]] in [[New Zealand]]
 +
| state = {{{state|autocollapse}}}
 +
| listclass = hlist
  
|group1 = Cities
+
| group1 = Cities
|list1 = <div><!--list sorted geographically:-->
+
| list1 = <!--list sorted geographically:-->
[[Mayor of Auckland|Auckland]]{{·}}[[Mayor of Hamilton, New Zealand|Hamilton]]{{·}}[[Mayor of Tauranga|Tauranga]]{{·}}[[Mayor of Napier, New Zealand|Napier]]{{·}}[[Mayor of Palmerston North|Palmerston North]]{{·}}[[Mayor of Porirua|Porirua]]{{·}}[[Mayor of Upper Hutt|Upper Hutt]]{{·}}[[Mayor of Lower Hutt|Lower Hutt]]{{·}}[[Mayor of Wellington|Wellington]]{{·}}[[Mayor of Nelson, New Zealand|Nelson]]{{·}}[[Mayor of Christchurch|Christchurch]]{{·}}[[Mayor of Dunedin|Dunedin]]{{·}}[[Mayor of Invercargill|Invercargill]]
+
* [[Mayor of Auckland|Auckland]]
</div>
+
* [[Mayor of Hamilton, New Zealand|Hamilton]]
 +
* [[Mayor of Tauranga|Tauranga]]
 +
* [[Mayor of Napier, New Zealand|Napier]]
 +
* [[Mayor of Palmerston North|Palmerston North]]
 +
* [[Mayor of Porirua|Porirua]]
 +
* [[Mayor of Upper Hutt|Upper Hutt]]
 +
* [[Mayor of Lower Hutt|Lower Hutt]]
 +
* [[Mayor of Wellington|Wellington]]
 +
* [[Mayor of Nelson, New Zealand|Nelson]]
 +
* [[Mayor of Christchurch|Christchurch]]
 +
* [[Mayor of Dunedin|Dunedin]]
 +
* [[Mayor of Invercargill|Invercargill]]
  
|group2 = Districts{{\}}regions
+
| group2 = Districts / regions
|list2 =
+
| list2 =
  {{Navbox subgroups
+
  {{Navbox|child
   |group1 = [[North Island]]
+
   | group1 = [[North Island]]
   |list1 = <div>
+
   | list1 =  
<!--[[Mayor of Far North|Far North]]{{·}}[[Mayor of Whangarei|Whangarei]]{{·}}[[Mayor of Kaipara|Kaipara]]{{·}}[[Mayor of Rodney|Rodney]]{{·}} [[Mayor of Franklin|Franklin]]{{·}}[[Mayor of Thames-Coromandel|Thames-Coromandel]]{{·}}[[Mayor of Hauraki|Hauraki]]{{·}}[[Mayor of Waikato|Waikato]]{{·}}[[Mayor of Matamata-Piako|Matamata-Piako]]{{·}}[[Mayor of Waipa|Waipa]]{{·}}[[Mayor of South Waikato|South Waikato]]{{·}}[[Mayor of Otorohanga|Otorohanga]]{{·}}[[Mayor of Rotorua|Rotorua]]{{·}}[[Mayor of Waitomo|Waitomo]]{{·}}-->
+
* [[Mayor of Far North|Far North]]
[[Mayor of Taupo|Taupo]]{{·}}
+
* [[Mayor of Whangarei|Whangarei]]
<!--[[Mayor of Western Bay of Plenty|Western Bay of Plenty]]{{·}}[[Mayor of Whakatane|Whakatane]]{{·}}[[Mayor of Kawerau|Kawerau]]{{·}}-->
+
* [[Mayor of Kaipara|Kaipara]]
[[Mayor of Opotiki|Opotiki]]{{·}}
+
* [[Mayor of Thames-Coromandel|Thames-Coromandel]]
<!--[[Mayor of Gisborne|Gisborne]]{{·}}[[Mayor of Wairoa|Wairoa]]{{·}}[[Mayor of Hastings|Hastings]]{{·}}[[Mayor of Central Hawke's Bay|Central Hawke's Bay]]{{·}}[[Mayor of New Plymouth|New Plymouth]]{{·}}[[Mayor of Stratford, New Zealand|Stratford]]{{·}}[[Mayor of South Taranaki|South Taranaki]]{{·}}[[Mayor of Ruapehu|Ruapehu]]{{·}}-->
+
* [[Mayor of Hauraki|Hauraki]]
[[Mayor of Wanganui|Wanganui]]<!--{{·}}
+
* [[Mayor of Waikato|Waikato]]
[[Mayor of Rangitikei|Rangitikei]]{{·}}[[Mayor of Manawatu|Manawatu]]{{·}}[[Mayor of Tararua|Tararua]]{{·}}[[Mayor of Horowhenua|Horowhenua]]{{·}}[[Mayor of Kapiti Coast|Kapiti Coast]]{{·}}[[Mayor of Masterton|Masterton]]{{·}}[[Mayor of Carterton|Carterton]]{{·}}[[Mayor of South Wairarapa|South Wairarapa]]-->
+
* [[Mayor of Matamata-Piako|Matamata-Piako]]
</div>
+
* [[Mayor of Waipa|Waipa]]
   |group2 = [[South Island]]
+
* [[Mayor of South Waikato|South Waikato]]
   |list2 = <div>
+
* [[Mayor of Ōtorohanga|Ōtorohanga]]
<!--[[Mayor of Tasman|Tasman]]{{·}}[[Mayor of Marlborough|Marlborough]]{{·}}[[Mayor of Buller|Buller]]{{·}}[[Mayor of Grey|Grey]]{{·}}[[Mayor of Westland|Westland]]{{·}}[[Mayor of Kaikoura|Kaikoura]]{{·}}[[Mayor of Hurunui|Hurunui]]{{·}}-->
+
* [[Mayor of Rotorua|Rotorua]]
[[Mayor of Waimakariri|Waimakariri]]<!--{{·}}
+
* [[Mayor of Waitomo|Waitomo]]  
[[Mayor of Selwyn|Selwyn]]{{·}}[[Mayor of Ashburton|Ashburton]]{{·}}[[Mayor of Timaru|Timaru]]{{·}}[[Mayor of Mackenzie|Mackenzie]]{{·}}[[Mayor of Waimate|Waimate]]{{·}}[[Mayor of Waitaki|Waitaki]]{{·}}[[Mayor of Queenstown-Lakes|Queenstown-Lakes]]{{·}}[[Mayor of Central Otago|Central Otago]]{{·}}[[Mayor of Clutha|Clutha]]{{·}}[[Mayor of Gore|Gore]]{{·}}[[Mayor of Southland|Southland]]-->
+
* [[Mayor of Taupo|Taupo]]
 +
* [[Mayor of Western Bay of Plenty|Western Bay of Plenty]]
 +
* [[Mayor of Whakatāne|Whakatāne]]
 +
* [[Mayor of Kawerau|Kawerau]]
 +
* [[Mayor of Ōpōtiki|Ōpōtiki]]
 +
* [[Mayor of Gisborne|Gisborne]]
 +
* [[Mayor of Wairoa|Wairoa]]
 +
* [[Mayor of Hastings, New Zealand|Hastings]]
 +
* [[Mayor of Central Hawke's Bay|Central Hawke's Bay]]
 +
* [[Mayor of New Plymouth|New Plymouth]]
 +
* [[Mayor of Stratford, New Zealand|Stratford]]
 +
* [[Mayor of South Taranaki|South Taranaki]]
 +
* [[Mayor of Ruapehu|Ruapehu]]
 +
* [[Mayor of Whanganui|Whanganui]]
 +
* [[Mayor of Rangitikei|Rangitikei]]
 +
* [[Mayor of Manawatu|Manawatu]]
 +
* [[Mayor of Tararua|Tararua]]
 +
* [[Mayor of Horowhenua|Horowhenua]]
 +
* [[Mayor of Kapiti Coast|Kapiti Coast]]
 +
* [[Mayor of Masterton|Masterton]]
 +
* [[Mayor of Carterton|Carterton]]
 +
* [[Mayor of South Wairarapa|South Wairarapa]]
 +
   | group2 = [[South Island]]
 +
   | list2 =  
 +
* [[Mayor of Tasman|Tasman]]
 +
* [[Mayor of Marlborough, New Zealand|Marlborough]]
 +
* [[Mayor of Buller|Buller]]
 +
* [[Mayor of Grey|Grey]]
 +
* [[Mayor of Westland|Westland]]
 +
* [[Mayor of Kaikōura|Kaikōura]]
 +
* [[Mayor of Hurunui|Hurunui]]
 +
* [[Mayor of Waimakariri|Waimakariri]]
 +
* [[Mayor of Selwyn|Selwyn]]
 +
* [[Mayor of Ashburton|Ashburton]]
 +
* [[Mayor of Timaru|Timaru]]
 +
* [[Mayor of Mackenzie|Mackenzie]]
 +
* [[Mayor of Waimate|Waimate]]
 +
* [[Mayor of Waitaki|Waitaki]]
 +
* [[Mayor of Queenstown-Lakes|Queenstown-Lakes]]
 +
* [[Mayor of Central Otago|Central Otago]]
 +
* [[Mayor of Clutha|Clutha]]
 +
* [[Mayor of Gore|Gore]]
 +
* [[Mayor of Southland District|Southland]]
 
  }}
 
  }}
  
<!--
+
| group3 = Offshore
|group3 = Territories et al
+
| list3 =  
|list3 = <div>
+
* [[Mayor of Chatham Islands|Chatham Islands]]<!---
[[Mayor of Chatham Islands|Chatham Islands]]{{·}}[[Mayor of Tokelau|Tokelau]]{{·}}[[Mayor of Cook Islands|Cook Islands]]{{·}}[[Mayor of Niue|Niue]]
+
* [[Mayor of Tokelau|Tokelau]]
</div>
+
* [[Mayor of Cook Islands|Cook Islands]]
-->
+
* [[Mayor of Niue|Niue]] --->
  
|group4 = Historic
+
| group4 = Historic
|list4 = <div><!--list sorted alphabetically:-->
+
| list4 = <!--list sorted alphabetically:-->
[[Mayor of Auckland City|Auckland City]]{{·}}
+
{{Navbox|child
<!--[[Mayor of Lyttelton|Lyttelton]]{{·}}[[Mayor of Manurewa|Manurewa]]{{·}}-->
+
  | group1 = [[North Island]]
[[Mayor of Manukau|Manukau]]{{·}}[[Mayor of North Shore|North Shore]]{{·}}
+
  | list1  =
<!--[[Mayor of Onehunga|Onehunga]]{{·}}-->
+
* [[Mayor of Auckland City|Auckland City]]
[[Mayor of Papakura|Papakura]]{{·}}[[Mayor of Thames|Thames]]{{·}}[[Mayor of Waitakere|Waitakere]]
+
* [[Mayor of Manukau City|Manukau City]]
</div>
+
* <!--[[Mayor of Manurewa|Manurewa]] -->
 +
* [[Mayor of North Shore City|North Shore City]]
 +
* [[Mayor of Onehunga|Onehunga]]
 +
* [[Mayor of Otaki|Otaki]]
 +
* [[Mayor of Papakura|Papakura]]
 +
* [[Mayor of Tawa|Tawa]]
 +
* [[Mayor of Thames|Thames]]
 +
* [[Mayor of Waitakere City|Waitakere City]]
 +
 
 +
  | group2 = [[South Island]]
 +
  | list2  =
 +
* [[Mayor of Banks Peninsula|Banks Peninsula]]
 +
* [[Mayor of Blenheim|Blenheim]]
 +
* [[Mayor of Hokitika|Hokitika]]
 +
* [[Mayor of Lyttelton|Lyttelton]]
 +
* [[Mayor of Queenstown Borough|Queenstown]]
 +
* [[Mayor of Richmond, New Zealand|Richmond]]
 +
* [[Mayor of Westport, New Zealand|Westport]]
 +
}}
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
  
[[Category:New Zealand politics and government templates|{{PAGENAME}}]]
+
[[Category:New Zealand politics and government templates]]
  
 
</noinclude>
 
</noinclude>

Latest revision as of 02:59, 20 January 2021

Initial visibility: currently defaults to autocollapse

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

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