Difference between revisions of "Template:MDMilitary"

From blackwiki
Jump to navigation Jump to search
imported>Illegitimate Barrister
(ce)
imported>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 = 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 =
Line 61: Line 57:
 
}}
 
}}
 
| 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 =

Revision as of 11:05, 30 July 2016

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.