Template:Navbox Ukraine district/doc

Provided is an empty syntax with the required parameters; include the following items and a template will be created.

{{Navbox Ukraine district
| district = {{subst:PAGENAME}}{{subst:void|Don't change anything on this line. It will change itself when you save.}}
| province = 
| flag   = 
| coa   =
| capital = 

| cities = 

| rural_settlements =

| villages =

| unincorporated_settlements =

| hromadas =
}}

Parameters

change
district
Defaults to current page name, or enter name of this raion or municipality, e.g., Borshchiv Raion.
province
Parent oblast’s article title, e.g., Ternopil Oblast. Links to the correct section in “Settlements.”
flag
Flag image name, e.g., Flag of Borshchiv raion.svg. Appears in the header.
coa*
Coat of arms image name, e.g., Borschivsky rayon coa.png. Appears on the right.
capital
This district’s administrative centre’s article title, e.g., Borshchiv.
cities
Bulleted list of cities.
towns
Bulleted list of urban-type settlements.
villages
Bulleted list of villages.
rural_settlements
Bulleted list of rural settlements.
unincorporated_settlements
Bulleted list of unincorporated or abandoned settlements.
hromadas
Bulleted list of hromadas.
below
Wikitext to display in a footer.
belowclass
CSS class applied to the td containing the footer.
state [autocollapse, collapsed, expanded, plain, off]
Navbox initial visibility. Defaults to autocollapse. See below.

Starting visibility: currently automatically selects itself to autocollapse

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

  • |state=collapsed: {{Navbox Ukraine district|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Navbox Ukraine district|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Navbox Ukraine district|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 starting visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.

Example

change
{{Navbox Ukraine district
| district = Bakhmut Raion
| province = Donetsk Oblast
| flag     = Flag of Bakhmut raion.png
| coa      = Coat of Arms of Bakhmut raion.png
| capital  = Bakhmut
| state  = {{{state|autocollapse}}}

| cities =
*[[Bakhmut]]
*[[Chasiv Yar]]
*[[Siversk]]
*[[Soledar]]
*[[Svitlodarsk]]
*[[Toretsk]]
*[[Zalizne]]

| rural_settlements =
*[[Dolomitne]]
*[[Khromove]]
*[[Krasna Hora, Donetsk Oblast|Krasna Hora]]
*[[Krymske, Donetsk Oblast|Krymske]]
*[[Kurdiumivka]]
*[[Luhanske, Bakhmut Raion, Donetsk Oblast|Luhanske]]
*[[Myronivskyi]]
*[[Nahirne, Donetsk Oblast|Nahirne]]
*[[Nelipivka]]
*[[New York, Ukraine|New York]]
*[[Novoluhanske]]
*[[Opytne, Bakhmut Raion|Opytne]]
*[[Petrivka, Bakhmut Raion, Donetsk Oblast|Petrivka]]
*[[Pidhorodne, Donetsk Oblast|Pidhorodne]]
*[[Pivdenne, Donetsk Oblast|Pivdenne]]
*[[Pivnichne, Donetsk Oblast|Pivnichne]]
*[[Shcherbynivka]]
*[[Shumy]]
*[[Sukha Balka, Donetsk Oblast|Sukha Balka]]
*[[Spirne, Donetsk Oblast|Spirne]]
*[[Travneve]]
*[[Vyimka]]
*[[Zaitseve]]
*[[Zelenopillia, Donetsk Oblast|Zelenopillia]]


| villages =
*[[Andriivka, Bakhmut Raion, Donetsk Oblast|Andriivka]]
*[[Bakhmutske]]
*[[Berestove, Bakhmut Raion, Donetsk Oblast|Berestove]]
<!-- Incomplete list, actual template has larger village list -->

|  hromadas =
*[[Bakhmut urban hromada|Bakhmut]]
*[[Chasiv Yar urban hromada|Chasiv Yar]]
*[[Siversk urban hromada|Siversk]]
*[[Soledar urban hromada|Soledar]]
*[[Svitlodarsk urban hromada|Svitlodarsk]]
*[[Toretsk urban hromada|Toretsk]]
*[[Zvanivka rural hromada|Zvanivka]]
}}
change