Difference between revisions of "Template:Cities in Ireland"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
m
imported>Iveagh Gardens
(Divided according to administrative status)
 
(11 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Navbox
+
{{navbox
| name   = Cities in Ireland
+
| name     = Cities in Ireland
| title = [[City status in Ireland|Cities in Ireland]]
+
| title     = [[City status in Ireland|Cities in Ireland]]
| listclass = hlist
+
| state    = {{{state|autocollapse}}}
 +
| bodyclass = hlist
  
 
| group1 = [[Republic of Ireland]]
 
| group1 = [[Republic of Ireland]]
 
| list1  =
 
| list1  =
* [[Dublin]]
+
{{Navbox|subgroup
 +
  | group1 = City Councils
 +
  | list1= * [[Dublin]]
 
* [[Cork (city)|Cork]]
 
* [[Cork (city)|Cork]]
* [[Limerick]]
 
 
* [[Galway]]
 
* [[Galway]]
 +
|group2= Metropolitan District<br/>{{small|within City and County Council}}
 +
|list2=* [[Limerick]]
 
* [[Waterford]]
 
* [[Waterford]]
* [[Kilkenny]]{{ref|kilkenny|1}}
+
|group3=Municipal District<br/>{{small|within County Council}}
 +
|list3= [[Kilkenny]]}}
 +
 
 
| group2 = [[Northern Ireland]]
 
| group2 = [[Northern Ireland]]
 
| list2  =
 
| list2  =
Line 18: Line 24:
 
* [[Lisburn]]
 
* [[Lisburn]]
 
* [[Newry]]
 
* [[Newry]]
* [[Armagh]]  
+
* [[Armagh]]
| below  = <small>{{note|kilkenny|1}}</small> not an administrative city
+
}}<noinclude>
 +
{{collapsible option}}
  
}}<noinclude>
+
[[Category:Ireland city templates| ]]
[[Category:Ireland templates]]  
+
[[Category:Republic of Ireland templates]]
[[Category:Republic of Ireland templates]]  
+
[[Category:Northern Ireland templates]]
[[Category:Northern Ireland templates]]
 
[[fr:Modèle:Villes d'Irlande]]
 
[[it:Template:Città irlandesi]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 14:41, 11 May 2019

Initial visibility: currently defaults to autocollapse

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

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