Difference between revisions of "Template:Bratislava Region"

From blackwiki
Jump to navigation Jump to search
imported>Ivecos
(update wikilinks)
imported>Krumpi
(new layout for all regions)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name  = Bratislava Region
+
| name  = Bratislava Region
|title = Districts of [[Bratislava Region]]
+
| title = {{flagicon | Bratislava Region | size = x16px}} Districts of [[Bratislava Region]]
|state = {{{state|autocollapse}}}
+
| state = {{{state|autocollapse}}}
|listclass = hlist
+
| listclass = hlist
|image = {{flagicon|Slovakia|size=40px}}
+
| titlestyle = background:lightblue;
|list1 =  
+
| image = {{Coat of arms | Slovakia | size = x40px | text = none}}
* [[Bratislava 1]]
+
| imageleft = {{Coat of arms | Bratislava Region | size = x40px | text = none}}
* [[Bratislava 2]]
+
| list1 =  
* [[Bratislava 3]]
+
* [[Bratislava 1|Bratislava I]]
* [[Bratislava 4]]
+
* [[Bratislava 2|Bratislava II]]
* [[Bratislava 5]]
+
* [[Bratislava 3|Bratislava III]]
 +
* [[Bratislava 4|Bratislava IV]]
 +
* [[Bratislava 5|Bratislava V]]
 
* [[Malacky District|Malacky]]
 
* [[Malacky District|Malacky]]
 
* [[Pezinok District|Pezinok]]
 
* [[Pezinok District|Pezinok]]
 
* [[Senec District|Senec]]
 
* [[Senec District|Senec]]
}}<noinclude>
+
}}
 +
<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Slovakia region (kraj) templates|Bratislava]]
 
[[Category:Slovakia region (kraj) templates|Bratislava]]
 
 
</noinclude>
 
</noinclude>

Revision as of 16:02, 15 April 2020

Initial visibility: currently defaults to autocollapse

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

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