Difference between revisions of "Template:Castles in Heilbronn"

From blackwiki
Jump to navigation Jump to search
imported>Vami IV
imported>Vami IV
Line 5: Line 5:
 
|basestyle = background:#C19A6B;
 
|basestyle = background:#C19A6B;
 
|image    = [[File:BWHeilbronn.png|100px]]
 
|image    = [[File:BWHeilbronn.png|100px]]
|state    = {{{state|autocollapse}}}.
 
 
|-
 
|-
 
|list1 =
 
|list1 =
Line 90: Line 89:
 
|below  = Also see: [[List of castles in Baden-Württemberg]]
 
|below  = Also see: [[List of castles in Baden-Württemberg]]
 
}}
 
}}
[[Category:Castles in Heilbronn (district)]]<noinclude>{{collapsible option}}
+
[[Category:Castles in Heilbronn (district)|*]]
[[Category:Baden-Württemberg subdivision templates]]
+
<noinclude>{{collapsible option}}
 +
[[Category:Baden-Württemberg subdivision templates|Heilbronn]]
 
[[Category:Castle navigational boxes|Heilbronn]]
 
[[Category:Castle navigational boxes|Heilbronn]]
[[Category:Germany geography templates]]</noinclude>
+
[[Category:Germany geography templates|Heilbronn]]</noinclude>

Revision as of 07:58, 24 November 2020

Initial visibility: currently defaults to autocollapse

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

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