Difference between revisions of "Template:Cardiff"

From blackwiki
Jump to navigation Jump to search
imported>Ham II
imported>Seth Whales
(Image changed)
 
(15 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name= Cardiff
+
| name= Cardiff
|state=collapsed
+
| state= {{{state<includeonly>|collapsed</includeonly>}}}
|image=[[File:Wales Cardiff locator map.svg|150px]]
+
| image=[[File:Coat of Arms of Cardiff.png|75px]]
|title=[[Cardiff|City of Cardiff]]
+
| title=[[Cardiff|City of Cardiff]]
|listclass = hlist
+
| listclass = hlist
|titlestyle = background:#addfad;color:#000000;
 
|abovestyle = background:#cceecc;color:#000000;
 
|groupstyle = background:#cceecc;color:#000000;
 
|belowstyle = background:#cceecc;color:#000000;
 
|below= [[:Category:Principal area of Wales templates|Principal areas of Wales]]
 
  
|group1= About Cardiff
+
| group1 = About Cardiff
|list1=
+
| list1 =
 
* [[Architecture of Cardiff|Architecture]]
 
* [[Architecture of Cardiff|Architecture]]
* [[Cardiff city centre|City centre]] ([[List of shopping arcades in Cardiff|Arcades]])
+
** [[List of shopping arcades in Cardiff|Arcades]]
 +
** [[Listed buildings in Cardiff|Listed buildings]]
 +
** [[List of tallest buildings and structures in Cardiff|Tallest buildings]]
 +
* [[Cardiff city centre|City centre]]  
 
* [[Culture and recreation in Cardiff|Culture and recreation]]
 
* [[Culture and recreation in Cardiff|Culture and recreation]]
 
* [[Economy of Cardiff|Economy and industry]]
 
* [[Economy of Cardiff|Economy and industry]]
Line 25: Line 23:
 
* [[Politics in Cardiff|Politics]]
 
* [[Politics in Cardiff|Politics]]
 
* [[List of public art in Cardiff|Public art]]
 
* [[List of public art in Cardiff|Public art]]
 +
* [[List of schools in Cardiff|Schools]]
 
* [[Sport in Cardiff|Sport]]
 
* [[Sport in Cardiff|Sport]]
* [[List of tallest buildings in Cardiff|Tall buildings]]
 
 
* [[Transport in Cardiff|Transport]]
 
* [[Transport in Cardiff|Transport]]
 
** [[Bus transport in Cardiff|Bus]]
 
** [[Bus transport in Cardiff|Bus]]
Line 34: Line 32:
 
** [[Cardiff Airport|Air]]
 
** [[Cardiff Airport|Air]]
  
|group2=Cardiff templates
+
| group2 =Cardiff templates
|list2=
+
| list2 =
 
* [[Template:Culture in Cardiff|Culture]]
 
* [[Template:Culture in Cardiff|Culture]]
* [[Template:Economy and Industry of Cardiff|Economy]]
+
* [[Template:Economy and industry of Cardiff|Economy]]
 
* [[Template:Education in Cardiff|Education]]
 
* [[Template:Education in Cardiff|Education]]
* [[Template:Landmarks and Visitor Attractions in Cardiff|Landmarks and Visitor Attractions]]
+
* [[Template:Landmarks and visitor attractions in Cardiff|Landmarks and visitor attractions]]
 
* [[Template:Media in Cardiff|Media]]
 
* [[Template:Media in Cardiff|Media]]
 
* [[Template:Politics and Government in Cardiff|Politics]]
 
* [[Template:Politics and Government in Cardiff|Politics]]
Line 45: Line 43:
 
* [[Template:Transport in Cardiff|Transport]]
 
* [[Template:Transport in Cardiff|Transport]]
  
|group3= [[Cardiff North (geographical area)|North]]
+
| group3 = Neighbourhoods
|list3=
+
| list3  =
 +
* [[Adamsdown]]
 
* [[Birchgrove, Cardiff|Birchgrove]]
 
* [[Birchgrove, Cardiff|Birchgrove]]
 +
* [[Butetown]]
 +
* [[Caerau, Cardiff|Caerau]]
 +
* [[Canton, Cardiff|Canton]]
 +
* [[Cardiff Bay]]
 +
* [[Cardiff Gate]]
 
* [[Cathays]]
 
* [[Cathays]]
 +
* [[Creigiau]]
 
* [[Cyncoed]]
 
* [[Cyncoed]]
 +
* [[Danescourt]]
 +
* [[Ely, Cardiff|Ely]]
 +
* [[Fairwater, Cardiff|Fairwater]]
 
* [[Gabalfa]]
 
* [[Gabalfa]]
 +
* [[Grangetown, Cardiff|Grangetown]]
 
* [[Heath, Cardiff|Heath]]
 
* [[Heath, Cardiff|Heath]]
 
* [[Lisvane]]
 
* [[Lisvane]]
Line 56: Line 65:
 
* [[Llandaff North]]
 
* [[Llandaff North]]
 
* [[Llanishen]]
 
* [[Llanishen]]
* [[Rhiwbina]]
+
* [[Llanrumney]]
* [[Roath]]
+
* [[Pentrebane]]
* [[Thornhill,_Cardiff|Thornhill]]
+
* [[Pentwyn, Cardiff|Pentwyn]]
* [[Tongwynlais]]
 
* [[Whitchurch, Cardiff|Whitchurch]]
 
 
 
|group4= [[Cardiff West (geographical area)|West]]
 
|list4=
 
* [[Caerau, Cardiff|Caerau]]
 
* [[Canton, Cardiff|Canton]]
 
* [[Creigiau]]
 
* [[Culverhouse Cross]]
 
* [[Danescourt]]
 
* [[Ely, Cardiff|Ely]]
 
* [[Fairwater, Cardiff|Fairwater]]
 
 
* [[Pentyrch]]
 
* [[Pentyrch]]
 +
* [[Penylan]]
 +
* [[Plasdwr]]
 
* [[Pontcanna]]
 
* [[Pontcanna]]
 +
* [[Pontprennau]]
 
* [[Radyr|Radyr and Morganstown]]
 
* [[Radyr|Radyr and Morganstown]]
* [[St Fagans]]
+
* [[Rhiwbina]]
 
 
|group5= [[Cardiff South (geographical area)|South]]
 
|list5=
 
* [[Adamsdown]]
 
* [[Butetown]]
 
* [[Cardiff Bay]]
 
* [[Grangetown, Cardiff|Grangetown]]
 
* [[Plasnewydd]]
 
 
* [[Riverside, Cardiff|Riverside]]
 
* [[Riverside, Cardiff|Riverside]]
 +
* [[Roath]]
 +
* [[Rumney, Cardiff|Rumney]]
 
* [[Splott]]
 
* [[Splott]]
 
+
* [[St Fagans]]
|group6= [[Cardiff East (geographical area)|East]]
 
|list6=
 
* [[Cardiff Gate]]
 
* [[Llanrumney]]
 
* [[Pentwyn, Cardiff|Pentwyn]]
 
* [[Penylan]]
 
* [[Pontprennau]]
 
* [[Rumney, Cardiff|Rumney]]
 
 
* [[St Mellons]]
 
* [[St Mellons]]
 +
* [[Thornhill, Cardiff|Thornhill]]
 +
* [[Tongwynlais]]
 
* [[Tremorfa]]
 
* [[Tremorfa]]
 
* [[Trowbridge, Cardiff|Trowbridge]]
 
* [[Trowbridge, Cardiff|Trowbridge]]
 +
* [[Whitchurch, Cardiff|Whitchurch]]
  
}} <noinclude>
+
| below = [[:Category:Principal area of Wales templates|Principal areas of Wales]]
 +
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Principal area of Wales templates]]
 
[[Category:Principal area of Wales templates]]
 
[[Category:Cardiff templates]]
 
[[Category:Cardiff templates]]
 +
[[Category:United Kingdom city templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:56, 8 June 2020

Initial visibility: currently defaults to autocollapse

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

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