Difference between revisions of "Template:Counties of Iceland"

From blackwiki
Jump to navigation Jump to search
imported>DerBorg
m (<+deeper cat)
imported>Stefán Örvar Sigmundsson
(Major update.)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name  = Counties of Iceland
 
|name  = Counties of Iceland
|title = [[Administrative divisions of Iceland|Regions and counties]] of [[Iceland]]
+
|title = [[Counties of Iceland|Counties]] of [[Iceland]]
|state = {{{state|autocollapse}}}
+
|state = {{{State|autocollapse}}}
 
|bodyclass = hlist
 
|bodyclass = hlist
 
|image = [[Image:Flag of Iceland.svg|50px|Flag of Iceland]]
 
|image = [[Image:Flag of Iceland.svg|50px|Flag of Iceland]]
 
|above =
 
* [[Regions of Iceland|'''Statistical region''']]
 
* [[Counties of Iceland|'''Traditional county''']]
 
 
 
|group1 = [[Capital Region (Iceland)|Capital Region]]
 
|group1 = [[Capital Region (Iceland)|Capital Region]]
|list1 =
+
|list1 =  
* [[Kjósarsýsla]]
+
*[[Reykjavík|Kjósarsýsla]]
 
 
 
|group2 = [[Southern Peninsula (Iceland)|Southern Peninsula]]
 
|group2 = [[Southern Peninsula (Iceland)|Southern Peninsula]]
|list2 =
+
|list2 =  
* [[Gullbringusýsla]]
+
*[[Gullbringusýsla]]
 
 
 
|group3 = [[Western Region (Iceland)|Western Region]]
 
|group3 = [[Western Region (Iceland)|Western Region]]
|list3 =
+
|list3 =  
* [[Borgarfjarðarsýsla]]
+
*[[Borgarfjarðarsýsla]]
* [[Dalasýsla]]
+
*[[Dalasýsla]]
* [[Mýrasýsla]]
+
*[[Mýrasýsla]]
* [[Snæfellsnes- og Hnappadalssýsla]]
+
*[[Snæfells- og Hnappadalssýsla|Snæfellsnes- og Hnappadalssýsla]]
 
 
 
|group4 = [[Westfjords]]
 
|group4 = [[Westfjords]]
|list4 =
+
|list4 =  
* [[Austur-Barðastrandarsýsla]]
+
*[[Barðastrandarsýsla|Austur-Barðastrandarsýsla]]
* [[Norður-Ísafjarðarsýsla]]
+
*[[Norður-Ísafjarðarsýsla]]
* [[Strandasýsla]]
+
*[[Strandasýsla]]
* [[Vestur-Barðastrandarsýsla]]
+
*[[Barðastrandarsýsla|Vestur-Barðastrandarsýsla]]
* [[Vestur-Ísafjarðarsýsla]]
+
*[[Vestur-Ísafjarðarsýsla]]
 
 
 
|group5 = [[Northwestern Region (Iceland)|Northwestern Region]]
 
|group5 = [[Northwestern Region (Iceland)|Northwestern Region]]
|list5 =
+
|list5 =  
* [[Austur-Húnavatnssýsla]]
+
*[[Austur-Húnavatnssýsla]]
* [[Skagafjarðarsýsla]]
+
*[[Skagafjarðarsýsla]]
* [[Vestur-Húnavatnssýsla]]
+
*[[Vestur-Húnavatnssýsla]]
 
 
 
|group6 = [[Northeastern Region (Iceland)|Northeastern Region]]
 
|group6 = [[Northeastern Region (Iceland)|Northeastern Region]]
|list6 =
+
|list6 =  
* [[Eyjafjarðarsýsla]]
+
*[[Eyjafjörður|Eyjafjarðarsýsla]]
* [[Norður-Þingeyjarsýsla]]
+
*[[Norður-Þingeyjarsýsla]]
* [[Suður-Þingeyjarsýsla]]
+
*[[Suður-Þingeyjarsýsla]]
 
 
 
|group7 = [[Eastern Region (Iceland)|Eastern Region]]
 
|group7 = [[Eastern Region (Iceland)|Eastern Region]]
|list7 =
+
|list7 =  
* [[Austur-Skaftafellssýsla]]
+
*[[Austur-Skaftafellssýsla]]
* [[Norður-Múlasýsla]]
+
*[[Norður-Múlasýsla]]
* [[Suður-Múlasýsla]]
+
*[[Suður-Múlasýsla]]
 
 
 
|group8 = [[Southern Region (Iceland)|Southern Region]]
 
|group8 = [[Southern Region (Iceland)|Southern Region]]
|list8 =
+
|list8 =  
* [[Árnessýsla]]
+
*[[Árnessýsla]]
* [[Rangárvallasýsla]]
+
*[[Rangárvallasýsla]]
* [[Vestur-Skaftafellssýsla]]
+
*[[Vestur-Skaftafellssýsla]]
 
 
 
}}<noinclude>
 
}}<noinclude>
{{collapsible option}}
+
{{Collapsible option}}
  
[[Category:Iceland subdivision templates|Counties of Iceland]]
+
[[Category:Iceland subdivision templates|Counties of Iceland]]</noinclude>
</noinclude>
 

Revision as of 05:30, 13 October 2014

Initial visibility: currently defaults to autocollapse

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

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