Difference between revisions of "Template:Hero Cities"

From blackwiki
Jump to navigation Jump to search
imported>Ibicdlcod
imported>Timrollpickering
m (→‎top: bypass redirect, replaced: KyivKyiv)
 
(18 intermediate revisions by 13 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = Hero Cities
+
|name=Hero Cities
|title = [[Hero City|Hero Cities]] of the [[Soviet Union]]
+
|title=[[Hero City|Hero Cities]] of the [[Soviet Union]]
|state   = {{{state|autocollapse}}}
+
|image=[[File:Hero of the USSR Gold Star.png|25px|Gold Star of the Hero of the Soviet Union]]
|listclass = hlist
+
|state={{{state|autocollapse}}}
|list1 =  
+
|listclass=hlist
 +
|list1=
 
<!--Cities are ordered by date of award, then in alphabetical order when more than one award given at one time:-->
 
<!--Cities are ordered by date of award, then in alphabetical order when more than one award given at one time:-->
* [[Saint Petersburg|Leningrad]]
+
*[[Saint Petersburg|Leningrad]]
* [[Odessa]]
+
*[[Odessa]]
* [[Sevastopol]]
+
*[[Sevastopol]]
* [[Volgograd|Stalingrad]]
+
*[[Volgograd|Stalingrad]]
* [[Kiev]]
+
*[[Kyiv]]
* [[Brest, Belarus|Brest]] [[Brest Fortress|Fortress]]
+
*[[Brest Fortress]]
* [[Moscow]]
+
*[[Moscow]]
* [[Kerch]]
+
*[[Kerch]]
* [[Novorossiysk]]
+
*[[Novorossiysk]]
* [[Minsk]]
+
*[[Minsk]]
* [[Tula, Russia|Tula]]
+
*[[Tula, Russia|Tula]]
* [[Murmansk]]
+
*[[Murmansk]]
* [[Smolensk]]  
+
*[[Smolensk]]  
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
Line 24: Line 25:
 
<!--Categories-->
 
<!--Categories-->
 
[[Category:Soviet Union templates|Cities, Hero]]
 
[[Category:Soviet Union templates|Cities, Hero]]
[[Category:City templates]]
+
[[Category:Russia city templates]]
 
 
 
 
 
</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.