Difference between revisions of "Template:DEMilitary"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(Formating)
imported>Anomalous+0
(correct word)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
 
| name  = DEMilitary
 
| name  = DEMilitary
| title = Current [[military installation]]s of [[Delaware]]
+
| title = Current [[military installation]]s in [[Delaware]]
 
| state = {{{state<includeonly>|collapsed</includeonly> }}}
 
| state = {{{state<includeonly>|collapsed</includeonly> }}}
 
| listclass = hlist
 
| listclass = hlist
Line 9: Line 9:
  
 
| group4 = [[United States Air Force|Air Force]]
 
| group4 = [[United States Air Force|Air Force]]
| list4  = {{Navbox|child
+
| list4  = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
 
  | group1 = [[Air Force Base]]
 
  | group1 = [[Air Force Base]]
 
  | list1  =  
 
  | list1  =  
Line 19: Line 18:
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:United States military installations by state templates]]
 
[[Category:United States military installations by state templates]]
[[Category:Military facilities in Delaware|~]]
+
[[Category:Military installations in Delaware|~]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:44, 18 January 2019

Initial visibility: currently defaults to autocollapse

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

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