Difference between revisions of "Template:Capitals of Ukraine"

From blackwiki
Jump to navigation Jump to search
imported>Diannaa
(use listclass = hlist in navbox as per WP:HLIST)
imported>Mzajac
(updated links after renaming)
 
(15 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name  = Capitals of Ukraine
 
|name  = Capitals of Ukraine
|title = Historical Capitals of [[Kievan Rus|Rus']] and other [[Ukraine|Ukrainian states]]
+
|title = Historical Capitals of Rus', [[Ukraine|Ukrainian]] states and states on Ukrainian soil{{smallsup|1}}
 +
|state = {{{state|autocollapse}}}
 
|bodyclass = hlist
 
|bodyclass = hlist
 
| group1 = Medieval Ukrainian states
 
| group1 = Medieval Ukrainian states
 
| list1 = {{navbox | child
 
| list1 = {{navbox | child
|group1 = [[Kievan Rus']]
+
|group1 = [[Kyivan Rus]]
 
|list1 =
 
|list1 =
* [[Kiev]]
+
* [[File:COA_of_Kyiv_Kurovskyi.svg|18px]] [[Kyiv]]
 
|group2 = [[Kingdom of Galicia–Volhynia]]
 
|group2 = [[Kingdom of Galicia–Volhynia]]
 
|list2 =
 
|list2 =
* [[Volodymyr-Volynskyi|Volodymyr]]
+
* [[File:Coat of Arms of Volodymyr-Volynsky.png|18px]] [[Volodymyr-Volynskyi|Volodymyr]]
* [[Halych]]
+
* [[File:COA_of_Halych.svg|18px]] [[Halych]]
* [[Lviv]]
+
* [[File:Coat_of_arms_of_Lviv.svg|18px]] [[Lviv]]
 
|group3 = [[Cossack Hetmanate]]
 
|group3 = [[Cossack Hetmanate]]
 
|list3 =
 
|list3 =
* [[Chyhyryn]]
+
* [[File:Coat of arms of Chyhyryn.png|18px]] [[Chyhyryn]]
* [[Baturyn]]
+
* [[File:Baturyn_gerb.png|18px]] [[Baturyn]]
* [[Hlukhiv]]
+
* [[File:Hlukhiv_gerb.png|18px]] [[Hlukhiv]]
|group4 = [[Grand Duchy of Rus']]
+
|group4 = [[Grand Principality of Rus' (1658)|Grand Principality of Rus']]
 
|list4 =
 
|list4 =
* [[Kiev]]
+
* [[File:COA_of_Kyiv_Kurovskyi.svg|18px]] [[Kyiv]]
 
}}
 
}}
| group2 = Ukrainian states after <br /> [[Russian Empire]] and before [[Ukrainian SSR]]
+
| group2 = Ukrainian states after <br /> [[Russian Empire]] and<br />before [[Ukrainian SSR]]
 
| list2 = {{navbox | child
 
| list2 = {{navbox | child
 
|group1 = [[West Ukrainian People's Republic]]
 
|group1 = [[West Ukrainian People's Republic]]
 
|list1 =
 
|list1 =
* [[Lviv]]
+
* [[File:Coat_of_arms_of_Lviv.svg|18px]] [[Lviv]]
* [[Ternopil]]
+
* [[File:Coat_of_arms_of_Ternopil.svg|18px]] [[Ternopil]]
* [[Stanyslaviv]]
+
* [[File:Ivano-Frankivsk_COA.png|18px]] [[Stanyslaviv]]
 
|group2 = [[Ukrainian People's Republic]]
 
|group2 = [[Ukrainian People's Republic]]
 
|list2 =
 
|list2 =
* [[Kiev]] (1917–1920)
+
* [[File:COA_of_Kyiv_Kurovskyi.svg|18px]] [[Kyiv]] (1917–1920)
 
|group3 =
 
|group3 =
* [[Ukrainian Soviet Republic (1918)|Ukrainian Soviet Republic]] ([[:ru:Украинская Советская Республика|ru]])
+
* [[Ukrainian Soviet Republic]]
 
|list3 =
 
|list3 =
* [[Kiev]]
+
* [[File:COA_of_Kyiv_Kurovskyi.svg|18px]] [[Kyiv]]
|group4 = [[Donetsk-Krivoy Rog Soviet Republic]]
 
|list4 =
 
* [[Kharkiv]]  
 
* [[Luhansk]]
 
 
}}
 
}}
 
| group3 = [[Ukrainian SSR]] (since 1917), <br /> independent [[Ukraine]] (since 1991)
 
| group3 = [[Ukrainian SSR]] (since 1917), <br /> independent [[Ukraine]] (since 1991)
 
| list3 = {{navbox | child
 
| list3 = {{navbox | child
| group1 = [[Ukrainian SSR]] (part of the [[USSR|SU]] 1922-91), [[Ukraine]]
+
| group1 = [[Ukrainian SSR]] (part of the<br />[[USSR|SU]] 1922-91), [[Ukraine]]
 
| list1 =
 
| list1 =
* [[Kharkiv]] (1919-1934)  
+
* [[File:Coat_of_arms_of_Kharkiv.svg|18px]] [[Kharkiv]] (1919-1934)  
* [[Kiev]] (since 1934)
+
* [[File:COA_of_Kyiv_Kurovskyi.svg|18px]] [[Kyiv]] (since 1934)
 
}}
 
}}
 
|below = {{smallsup|1}}Meaning ([[Cossacks|Cossack]]) states on the territory of current Ukraine
 
|below = {{smallsup|1}}Meaning ([[Cossacks|Cossack]]) states on the territory of current Ukraine
}}<noinclude>[[Category:Former national capitals|τ]][[Category:Ukraine templates]]
+
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:Ukraine templates]]
 +
[[Category:Ukraine history templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:58, 17 September 2020

Initial visibility: currently defaults to autocollapse

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

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