Difference between revisions of "Template:DEMilitary"

From blackwiki
Jump to navigation Jump to search
(use listclass = hlist in navbox as per WP:HLIST)
(remove image since it stretches the box)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
 
| name  = DEMilitary
 
| name  = DEMilitary
| title = Current [[military installations]] of [[Delaware]]
+
| title = Current [[military installation]]s of [[Delaware]]
 
| state = <includeonly>{{{state|collapsed}}}</includeonly>  
 
| state = <includeonly>{{{state|collapsed}}}</includeonly>  
 
| listclass = hlist
 
| listclass = hlist
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  = {{Navbox|child
 
  | groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
  | groupstyle = {{WPMILHIST Infobox style|nav_box_label}}

Revision as of 01:58, 30 January 2012

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.