Difference between revisions of "Template:Boroughs of Stavanger"

From blackwiki
Jump to navigation Jump to search
imported>Jay1279
(resize image, add county arms)
imported>Jay1279
(add 2 more boroughs (https://www.stavanger.kommune.no/om-stavanger-kommune/bydeler-i-stavanger/))
 
Line 1: Line 1:
 
{{navbox
 
{{navbox
|name = Boroughs of Stavanger
+
|name     = Boroughs of Stavanger
|image = [[File:Stavanger komm.svg|30px]]
+
|image     = [[File:Stavanger komm.svg|30px]]
 
|imageleft = [[File:Rogaland våpen.svg|30px]]
 
|imageleft = [[File:Rogaland våpen.svg|30px]]
|title = [[:Category:Boroughs and neighbourhoods of Stavanger|Boroughs]] of [[Stavanger]]
+
|title     = [[:Category:Boroughs and neighbourhoods of Stavanger|Boroughs]] of [[Stavanger]]
|state = {{{state|autocollapse}}}
+
|state     = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
|list1 =
+
|list1     =
 
* [[Eiganes og Våland]]
 
* [[Eiganes og Våland]]
 +
* [[Finnøy]]
 
* [[Hillevåg]]
 
* [[Hillevåg]]
 
* [[Hinna]]
 
* [[Hinna]]
 
* [[Hundvåg, Stavanger|Hundvåg]]
 
* [[Hundvåg, Stavanger|Hundvåg]]
 
* [[Madla]]
 
* [[Madla]]
 +
* [[Rennesøy]]
 
* [[Storhaug]]
 
* [[Storhaug]]
 
* [[Tasta]]
 
* [[Tasta]]

Latest revision as of 02:46, 4 September 2020

Initial visibility: currently defaults to autocollapse

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

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