Difference between revisions of "Template:Campania"

From blackwiki
Jump to navigation Jump to search
imported>Danny lost
(add map)
imported>DDima
(Adjusted)
Line 4: Line 4:
 
|title = {{flagicon|Campania}} [[Campania]]
 
|title = {{flagicon|Campania}} [[Campania]]
 
|listclass = hlist
 
|listclass = hlist
|image =
+
|image = [[File:Map of region of Campania, Italy, with provinces-en.svg|150px]]
 
|groupstyle = padding:0.2em 1.0em; line-height:1.1em; <!--reduces wide gap between wrapped  
 
|groupstyle = padding:0.2em 1.0em; line-height:1.1em; <!--reduces wide gap between wrapped  
 
groupname lines-->
 
groupname lines-->
Line 12: Line 12:
 
|group1= [[Provinces of Italy|Provinces <br> and places]]
 
|group1= [[Provinces of Italy|Provinces <br> and places]]
 
|list1 =
 
|list1 =
[[File:Map of region of Campania, Italy, with provinces-en.svg|150px|right]]
 
 
* [[Province of Avellino|Avellino]]
 
* [[Province of Avellino|Avellino]]
 
* [[Province of Benevento|Benevento]]
 
* [[Province of Benevento|Benevento]]

Revision as of 06:07, 20 May 2014

Initial visibility: currently defaults to autocollapse

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

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