Difference between revisions of "Template:Districts of Budapest"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
imported>Funandtrvl
(add category)
 
(4 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
|name = Districts of Budapest
 
|name = Districts of Budapest
 
|title = [[Districts of Budapest|Districts]] of [[Budapest]]
 
|title = [[Districts of Budapest|Districts]] of [[Budapest]]
 +
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
|image = [[Image:Coat of arms of Budapest.png|70px|Coat of arms of Budapest]]
+
|image = [[Image:Coa Hungary Town Budapest big.svg|70px|Coat of arms of Budapest]]
 
|list1 =  
 
|list1 =  
 
* I.    [[Várkerület]]
 
* I.    [[Várkerület]]
* II.    [[2nd District of Budapest|2nd District]]
+
* II.    [[2nd district of Budapest|2nd district]]
 
* III.  [[Óbuda-Békásmegyer]]
 
* III.  [[Óbuda-Békásmegyer]]
 
* IV.    [[Újpest]]
 
* IV.    [[Újpest]]
Line 17: Line 18:
 
* XI.    [[Újbuda]]
 
* XI.    [[Újbuda]]
 
* XII.  [[Hegyvidék]]
 
* XII.  [[Hegyvidék]]
* XIII.  [[13th District of Budapest|13th District]]
+
* XIII.  [[13th district of Budapest|13th district]]
 
* XIV.  [[Zugló]]
 
* XIV.  [[Zugló]]
* XV.    [[15th District of Budapest|15th District]]
+
* XV.    [[15th district of Budapest|15th district]]
* XVI.  [[16th District of Budapest|16th District]]
+
* XVI.  [[16th district of Budapest|16th district]]
 
* XVII.  [[Rákosmente]]
 
* XVII.  [[Rákosmente]]
 
* XVIII. [[Pestszentlőrinc-Pestszentimre]]
 
* XVIII. [[Pestszentlőrinc-Pestszentimre]]
Line 29: Line 30:
 
* XXIII. [[Soroksár]]
 
* XXIII. [[Soroksár]]
 
}}<noinclude>
 
}}<noinclude>
[[Category:Hungary templates| ]]
+
{{collapsible option}}
[[hu:Sablon:Budapest kerületei]]
+
[[Category:Hungary subdivision templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 23:50, 5 November 2017

Initial visibility: currently defaults to autocollapse

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

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