Difference between revisions of "Template:DEMilitary"

From blackwiki
Jump to navigation Jump to search
(use listclass = hlist in navbox as per WP:HLIST)
imported>Anomalous+0
(correct word)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
 
| name  = DEMilitary
 
| name  = DEMilitary
| title = Current [[military installations]] of [[Delaware]]
+
| title = Current [[military installation]]s in [[Delaware]]
| state = <includeonly>{{{state|collapsed}}}</includeonly>  
+
| state = {{{state<includeonly>|collapsed</includeonly> }}}
 
| listclass = hlist
 
| listclass = hlist
 
| style = wide
 
| style = wide
Line 8: Line 8:
 
| image = [[Image:Flag of Delaware.svg|border|85px]]
 
| image = [[Image:Flag of Delaware.svg|border|85px]]
  
| group4 = [[United States Air Force|Air Force]][[Image:Seal of the US Air Force.svg|40px]]
+
| 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.