Difference between revisions of "Template:Cities in Ireland"

From blackwiki
Jump to navigation Jump to search
imported>Djegan
m (moved Template:IrishCities to Template:Cities in Ireland: per title in template)
imported>Iveagh Gardens
(Divided according to administrative status)
 
(59 intermediate revisions by 42 users not shown)
Line 1: Line 1:
{| class="toccolours" align=center style="clear:both;"
+
{{navbox
|-
+
| name      = Cities in Ireland
| style="background:#ccccff;font-weight:bold;" align="center" | [[Cities in Ireland]]
+
| title    = [[City status in Ireland|Cities in Ireland]]
|-
+
| state    = {{{state|autocollapse}}}
| align="center" style="padding: 0px 5px 0px 5px;" | '''[[Republic of Ireland]]''': [[Dublin]] | [[Cork]] | [[Limerick]] | [[Galway]] | [[Waterford]] | [[Kilkenny]]
+
| bodyclass = hlist
|-
 
| align="center" style="padding: 0px 5px 0px 5px;" | '''[[Northern Ireland]]''': [[Belfast]] | [[Derry]] | [[Armagh]] | [[Newry]] | [[Lisburn]]
 
|-
 
|}<noinclude>
 
  
[[Category:Irish navigational boxes|{{PAGENAME}}]]  
+
| group1 = [[Republic of Ireland]]
 +
| list1  =
 +
{{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.