Difference between revisions of "Template:ALMilitary"

From blackwiki
Jump to navigation Jump to search
blackwiki>Plastikspork
(use listclass = hlist in navbox as per WP:HLIST and fix images stretching group labels)
m (22 revisions imported)
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
 
| name  = ALMilitary
 
| name  = ALMilitary
| title = Current [[military installations]] of [[Alabama]]
+
| title = Current [[military installations]] in [[Alabama]]
 
| listclass = hlist
 
| listclass = hlist
| image = [[Image:Flag of Alabama.svg|85px]]
+
| image = [[Image:Flag of Alabama.svg|border|85px]]
| state = <includeonly>{{{state|collapsed}}}</includeonly>  
+
| state = {{{state<includeonly>|collapsed</includeonly> }}}
 
| style = wide
 
| style = wide
  
 
| 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 30: Line 29:
 
* [[Lowe Army Heliport|Lowe]]
 
* [[Lowe Army Heliport|Lowe]]
 
* Shell
 
* Shell
  | group6 = [[Alabama Army National Guard|Army National Guard]]
+
  | group6 = [[Alabama Air National Guard|Air National Guard]]
 
  | list6 =
 
  | list6 =
* [[Birmingham-Shuttlesworth International Airport|Birmingham]]
+
* [[Birmingham Air National Guard Base|Birmingham]]
* [[Montgomery Regional Airport|Dannelly Field]]
+
* [[Montgomery Air National Guard Base|Montgomery]]
 
  | group7 = Range
 
  | group7 = Range
 
  | list7 =
 
  | list7 =
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 =
* Barin Field
+
* [[Naval Outlying Landing Field Barin|Barin Field]]
 
* Brewton Field
 
* Brewton Field
 
* Evergreen Field
 
* Evergreen Field
 +
* Silverhill
 +
* [[Naval Outlying Landing Field Summerdale|Summerdale]]
 
}}
 
}}
  
 
| 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 67: 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

Latest revision as of 11:28, 16 October 2020

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.