Difference between revisions of "Template:MDMilitary"

From blackwiki
Jump to navigation Jump to search
imported>Illegitimate Barrister
(ce)
imported>Anomalous+0
(correct wording)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
 
| name  = MDMilitary
 
| name  = MDMilitary
| title = [[Military installations]] of [[Maryland]]
+
| title = {{Flagdeco|Maryland|size=23px}} [[Military installations]] in [[Maryland]]
 
| listclass = hlist
 
| listclass = hlist
| image = [[Image:Flag of Maryland.svg|85px|border]]
+
| image = [[Image:Seal of Maryland.svg|85px]]
 
| state = {{{state<includeonly>|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 = Fort
 
  | group1 = Fort
 
  | list1 =
 
  | list1 =
Line 22: Line 21:
 
}}
 
}}
 
| group3 = [[United States Air Force|Air Force]]
 
| group3 = [[United States Air Force|Air Force]]
| list3  = {{Navbox|child
+
| list3  = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
 
  | group2 = Base
 
  | group2 = Base
 
  | list2 =
 
  | list2 =
Line 30: Line 28:
 
}}
 
}}
 
| group4 = [[United States Navy|Navy]]
 
| group4 = [[United States Navy|Navy]]
| list4  = {{Navbox|child
+
| list4  = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
 
  | group1 = Naval Air Facility
 
  | group1 = Naval Air Facility
 
  | list1 =
 
  | list1 =
Line 54: Line 51:
 
}}
 
}}
 
| group5 = [[National Guard of the United States|National Guard]]
 
| group5 = [[National Guard of the United States|National Guard]]
| list5  = {{Navbox|child
+
| list5  = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
 
  | group2 = [[Maryland Air National Guard|Air]]
 
  | group2 = [[Maryland Air National Guard|Air]]
 
  | list2 =
 
  | list2 =
* [[Warfield Air National Guard Base|Warfield]]
+
* Warfield Air National Guard Base ([[Martin State Airport]])
 
}}
 
}}
 
| group7 = [[United States Coast Guard|Coast Guard]]
 
| group7 = [[United States Coast Guard|Coast Guard]]
| list7  = {{Navbox|child
+
| list7  = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
 
  | group1 = Yard
 
  | group1 = Yard
 
  | list1 =
 
  | list1 =
Line 70: Line 65:
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:United States military installations by state templates]]
 
[[Category:United States military installations by state templates]]
[[Category:Military facilities in Maryland]]
+
[[Category:Military installations in Maryland]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:22, 18 January 2019

Initial visibility: currently defaults to autocollapse

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

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