Difference between revisions of "Template:ALMilitary"

From blackwiki
Jump to navigation Jump to search
blackwiki>Ktr101
(fixes)
blackwiki>WOSlinker
(Military navigation|border=child|style=wide)
Line 8: Line 8:
  
 
| group1 = [[United States Army|Army]]  
 
| group1 = [[United States Army|Army]]  
| list1  = {{Navbox|child
+
| list1  = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
 
  | group1 = Arsenal
 
  | group1 = Arsenal
 
  | list1 =
 
  | list1 =
Line 41: Line 40:
  
 
| group3 = [[United States Navy|Navy]]  
 
| group3 = [[United States Navy|Navy]]  
| list3  = {{Navbox|child
+
| list3  = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
 
  | group1 = Outlying Field
 
  | group1 = Outlying Field
 
  | list1 =
 
  | list1 =
Line 53: Line 51:
  
 
| 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 69: Line 66:
  
 
| group5 =  [[United States Coast Guard|Coast Guard]]  
 
| group5 =  [[United States Coast Guard|Coast Guard]]  
| list5  = {{Navbox|child
+
| list5  = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
 
  | group1 = Aids to Navigation Teams
 
  | group1 = Aids to Navigation Teams
 
  | list1 = Mobile
 
  | list1 = Mobile

Revision as of 11:01, 30 July 2016

Initial visibility: currently defaults to autocollapse

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

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