Difference between revisions of "Template:MOMilitary"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(use listclass = hlist in navbox as per WP:HLIST and fix images stretching group labels)
imported>Anomalous+0
(Military base)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
 
| name  = MOMilitary
 
| name  = MOMilitary
| title = [[Military installations]] of [[Missouri]]
+
| title = [[Military installations]] in [[Missouri]]
 
| listclass = hlist
 
| listclass = hlist
 
| image = [[Image:Flag of Missouri.svg|border|85px]]
 
| image = [[Image:Flag of Missouri.svg|border|85px]]
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 = Fort
 
  | group1 = Fort
  | list1 =  
+
  | list1 = [[Fort Leonard Wood|Leonard Wood]]
 
}}
 
}}
 
| group2 = [[United States Air Force|Air Force]]
 
| group2 = [[United States Air Force|Air Force]]
| list2  = {{Navbox|child
+
| list2  = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
 
  | group2 = Base
 
  | group2 = Base
  | list2 =
+
  | list2 =  
 
* [[Whiteman Air Force Base|Whiteman]]
 
* [[Whiteman Air Force Base|Whiteman]]
| group3 = Station
 
| list3 =
 
}}
 
| group3 = [[United States Navy|Navy]]
 
| list3  = {{Navbox|child
 
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
| group1 = Naval Air Station
 
| list1 =
 
| group2 = Radio Station
 
| list2 =
 
| group3 = Shipyard
 
| list3 =
 
| group4 = Prison
 
| list4 =
 
 
}}
 
}}
| group5 = [[United States Coast Guard|Coast Guard]]
+
| group3= [[United States Army National Guard|National Guard]]
| list5 = {{Navbox|child
+
| list3 = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
+
  | group3 = Barracks
  | group1 = Station
+
  | list3 =* [[Jefferson Barracks Military Post|Jefferson Barracks]]
  | list1 =  
 
 
}}
 
}}
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:United States military installations by state templates]]
 
[[Category:United States military installations by state templates]]
[[Category:Military facilities in Missouri]]
+
[[Category:Military installations in Missouri]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:29, 18 January 2019

Initial visibility: currently defaults to autocollapse

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

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