Difference between revisions of "Template:Lviv"

From blackwiki
Jump to navigation Jump to search
imported>David Kernow
(moved Template:Lviv to Template:Lviv-related topics: To indicate what the template shows about Lviv)
 
imported>Aleksandr Grigoryev
Line 1: Line 1:
#REDIRECT [[Template:Lviv-related topics]]
+
{{Navbox
 +
| name = Lviv
 +
| title = [[File:Хоругва Львова.png|22px|link = Lviv]] [[Administrative divisions of Ukraine|Administrative divisions]] of [[Lviv]]
 +
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
 +
| bodyclass = hlist
 +
 
 +
| image = [[File:Lviv-modern-coat-of-arms.png|40px|Coat of arms of Lviv]]
 +
| evenodd = even
 +
 
 +
| group1 = [[Raions of cities in Ukraine|{{H:title|Raions of Lviv|Districts|dotted=no}}]]
 +
| list1 =
 +
* [[Halych Raion|Halych]]
 +
* [[Railway Raion, Lviv|Railway]]
 +
* [[Lychakiv Raion|Lychakiv]]
 +
* [[Franko Raion, Lviv|Franko]]
 +
* [[Shevchenko Raion, Lviv|Shevchenko]]
 +
* [[Sykhiv Raion|Sykhiv]]
 +
 
 +
| group2 = {{H:title|Historical neighborhoods of Lviv|Neighborhoods|dotted=no}}{{smallsup|1}}
 +
| list2 =
 +
 
 +
| group3 = [[List of cities in Ukraine|{{H:title|Cities in Lviv|Cities|dotted=no}}]]
 +
| list3 =
 +
* [[Vynnyky]]
 +
 
 +
| group4 = [[List of urban-type settlements in Ukraine by subdivision#Lviv Oblast|{{H:title|Urban settlements in Lviv|Towns|dotted=no}}]]
 +
| list4 =
 +
* [[Bryukhivychi, Lviv|Bryukhovychi]]
 +
* [[Rudno, Lviv|Rudno]]
 +
 
 +
| below =
 +
* ''{{smallsup|1}} Unofficial designation
 +
* [[:Category:Lviv]]''
 +
 
 +
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:Ukraine district (raion) templates|Lviv]]
 +
</noinclude>

Revision as of 02:18, 2 January 2015

Initial visibility: currently defaults to autocollapse

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

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