Difference between revisions of "Template:Cities in Ireland"

From blackwiki
Jump to navigation Jump to search
imported>Tasc
m (fix template)
imported>Iveagh Gardens
(Divided according to administrative status)
 
(57 intermediate revisions by 41 users not shown)
Line 1: Line 1:
{{Navigation
+
{{navbox
|templateName=Cities in Ireland
+
| name      = Cities in Ireland
|header=[[Cities in Ireland|Cities]] of [[Ireland]]
+
| title    = [[City status in Ireland|Cities in Ireland]]
|body='''[[Republic of Ireland]]:''' [[Dublin]] • [[Cork]] • [[Limerick]] • [[Galway]] • [[Waterford]] • [[Kilkenny]]
+
| state    = {{{state|autocollapse}}}
 +
| bodyclass = hlist
  
'''[[Northern Ireland]]:''' [[Belfast]] [[Derry]] [[Armagh]] [[Newry]] [[Lisburn]]
+
| group1 = [[Republic of Ireland]]
}}<noinclude>  
+
| list1  =
[[Category:Irish navigational boxes|{{PAGENAME}}]]  
+
{{Navbox|subgroup
 +
  | group1 = City Councils
 +
  | list1= * [[Dublin]]
 +
* [[Cork (city)|Cork]]
 +
* [[Galway]]
 +
|group2= Metropolitan District<br/>{{small|within City and County Council}}
 +
|list2=* [[Limerick]]
 +
* [[Waterford]]
 +
|group3=Municipal District<br/>{{small|within County Council}}
 +
|list3= [[Kilkenny]] }}
  
[[fr:Modèle:Villes irlandaises]]
+
| group2 = [[Northern Ireland]]
[[it:Template:Città irlandesi]]
+
| list2  =
 +
* [[Belfast]]
 +
* [[Derry]]
 +
* [[Lisburn]]
 +
* [[Newry]]
 +
* [[Armagh]]
 +
}}<noinclude>
 +
{{collapsible option}}
 +
 
 +
[[Category:Ireland city templates| ]]
 +
[[Category:Republic of Ireland templates]]
 +
[[Category:Northern Ireland templates]]
 
</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.