Difference between revisions of "Template:Hero Cities"

From blackwiki
Jump to navigation Jump to search
imported>DerBorg
m (+link)
imported>Timrollpickering
m (→‎top: bypass redirect, replaced: KyivKyiv)
 
(29 intermediate revisions by 22 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = Hero Cities
+
|name=Hero Cities
|title = [[Hero City|Hero Cities]] of the former [[Soviet Union]]
+
|title=[[Hero City|Hero Cities]] of the [[Soviet Union]]
|list1 = <div><!--(reduces gap between wrapped lines)-->
+
|image=[[File:Hero of the USSR Gold Star.png|25px|Gold Star of the Hero of the Soviet Union]]
<!--Cities are ordered by date of award, then in alphabetical order when more than one award given at one time:-->{{nowrap begin}} [[Saint Petersburg|Leningrad]]{{·w}} [[Odessa]]{{·w}} [[Sevastopol]]{{·w}} [[Volgograd|Stalingrad]]{{·w}} [[Kiev]]{{·w}} [[Brest, Belarus|Brest]] [[Brest Fortress|Fortress]]{{·w}} [[Moscow]]{{·w}} [[Kerch]]{{·w}} [[Novorossiysk]]{{·w}} [[Minsk]]{{·w}} [[Tula, Russia|Tula]]{{·w}} [[Murmansk]]{{·w}} [[Smolensk]] {{nowrap end}}
+
|state={{{state|autocollapse}}}
</div>
+
|listclass=hlist
 +
|list1=
 +
<!--Cities are ordered by date of award, then in alphabetical order when more than one award given at one time:-->
 +
*[[Saint Petersburg|Leningrad]]
 +
*[[Odessa]]
 +
*[[Sevastopol]]
 +
*[[Volgograd|Stalingrad]]
 +
*[[Kyiv]]
 +
*[[Brest Fortress]]
 +
*[[Moscow]]
 +
*[[Kerch]]
 +
*[[Novorossiysk]]
 +
*[[Minsk]]
 +
*[[Tula, Russia|Tula]]
 +
*[[Murmansk]]
 +
*[[Smolensk]]  
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
  
 
<!--Categories-->
 
<!--Categories-->
 
[[Category:Soviet Union templates|Cities, Hero]]
 
[[Category:Soviet Union templates|Cities, Hero]]
[[Category:City templates|{{PAGENAME}}]]
+
[[Category:Russia city templates]]
 
 
<!--Interwikis-->
 
[[be-x-old:Шаблён:Гарады-героі]]
 
[[cs:Šablona:Město-hrdina]]
 
[[da:Skabelon:Helteby]]
 
[[fa:الگو:شهرهای قهرمان شوروی]]
 
[[fr:Modèle:Villes héros]]
 
[[gl:Modelo:Cidades heroicas]]
 
[[os:Шаблон:Хъæбатыр сахартæ]]
 
[[ru:Шаблон:Города-герои СССР]]
 
[[uk:Шаблон:Міста-герої СРСР]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 18:59, 16 September 2020

Initial visibility: currently defaults to autocollapse

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

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