Difference between revisions of "Template:DCMilitary"

From blackwiki
Jump to navigation Jump to search
imported>PGPirate
(created page)
 
imported>Anomalous+0
(correct word)
 
(22 intermediate revisions by 15 users not shown)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
|name  = NCMilitary
+
| name  = DCMilitary
|title = Current [[Military installations]] of [[Washington, D.C.]]
+
| title = Current [[Military base|military installations]] in [[Washington, D.C.]]
|image = [[Image:Flag of Washington, D.C..svg|100px]]
+
| state = {{{state<includeonly>|collapsed</includeonly> }}}
|state = <includeonly>{{{state|collapsed}}}</includeonly>  
+
| listclass = hlist
|style = wide
+
| style = wide
  
|group1 = {{nowrap|[[United States Army|Army]][[Image:United States Department of the Army Seal.svg|40px]]}}
+
| image = [[Image:Flag of the District of Columbia.svg|border|85px]]
|list1  = {{Navbox subgroups
+
 
  |groupstyle = text-align:right; {{WPMILHIST Infobox style|nav_box_label}}
+
| group1 =  [[United States Army|Army]]
  |group1 = Fort
+
| list1  = {{Military navigation|border=child|style=wide
  |list1 = [[Fort McNair|McNair]]
+
  | groupstyle = width:10em;
|group2 = Medical Center
+
| liststyle = width:auto;
|list2 = [[Walter Reed Army Medical Center|Walter Reed]]
+
  | group1 = Fort
 +
  | list1 =
 +
* [[Fort Lesley J. McNair|McNair]]
 
}}
 
}}
  
|group2 = {{nowrap|[[United States Marine Corps|Marines]][[Image:USMC logo.svg|40px]]}}
+
| group2 = [[United States Marine Corps|Marines]]
|list2  = {{Navbox subgroups
+
| list2  = {{Military navigation|border=child|style=wide
  |groupstyle = text-align:right; {{WPMILHIST Infobox style|nav_box_label}}
+
  | groupstyle = width:10em;
  |group1 = Barracks  
+
| liststyle = width:auto;
  |list1 = [[Marine Barracks, Washington, D.C.]]
+
  | group1 = Barracks  
 +
  | list1 =
 +
* [[Marine Barracks, Washington, D.C.]]
 
}}
 
}}
  
|group3 = {{nowrap|[[United States Navy|Navy]][[Image:US-DeptOfNavy-Seal.svg|40px]]}}
+
| group3 = [[United States Navy|Navy]]
|list3  = {{Navbox subgroups
+
| list3  = {{Military navigation|border=child|style=wide
  |groupstyle = text-align:right; {{WPMILHIST Infobox style|nav_box_label}}
+
  | groupstyle = width:10em;
  |group1 = Observatory
+
| liststyle = width:auto;
  |list1 = [[Naval Observatory]]
+
  | group1 = Facilities
  |group2 = Yard
+
| list1 =
  |list2 = [[Washington Navy Yard]]
+
* [[Naval Support Facility Anacostia]]
  |group3 = Other
+
| group2 = Observatory
  |list3 = [[United States Naval Research Laboratory|Naval Research Laboratory]]
+
  | list2 =
 +
* [[United States Naval Observatory|Naval Observatory]]
 +
  | group3 = Yard
 +
  | list3 =
 +
* [[Washington Navy Yard]]
 +
  | group4 = Other
 +
  | list4 =
 +
* [[Joint Base Anacostia–Bolling]]
 +
* [[United States Naval Research Laboratory|Naval Research Laboratory]]
 
}}
 
}}
  
|group4 = {{nowrap|[[United States Air Force|Air Force]][[Image:Seal of the US Air Force.svg|40px]]}}
+
| group4 = [[United States Air Force|Air Force]]
|list4  = {{Navbox subgroups
+
| list4  = {{Military navigation|border=child|style=wide
  |groupstyle = text-align:right; {{WPMILHIST Infobox style|nav_box_label}}
+
  | groupstyle = width:10em;
  |group1 = [[Air Force Base]]
+
| liststyle = width:auto;
  |list1  = {{nowrap begin}} [[Bolling Air Force Base|Bolling]]  
+
  | group1 = [[Military airbase|Field]]
 +
  | list1  =  
 +
* [[Joint Base Anacostia–Bolling|Bolling]]  
 
  }}
 
  }}
  
|group5 = {{nowrap|[[United States Coast Guard|Coast Guard]][[Image:USCG S W.svg|40px]]}}
+
| group5 = [[United States Coast Guard|Coast Guard]]
|list5  = {{Navbox subgroups
+
| list5  = {{Military navigation|border=child|style=wide|evenodd=swap
  |groupstyle = text-align:right; {{WPMILHIST Infobox style|nav_box_label}}
+
  | groupstyle = width:10em;
  |group1 = [[United States Coast Guard Air Stations|Air Station]]
+
| liststyle = width:auto;
  |list1 = Washington
+
  | group1 = [[List of United States Coast Guard stations|Station]]
 +
  | list1 =
 +
* [[Coast Guard Station Washington, D.C.]]
 
}}
 
}}
 +
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:United States military installations by state templates|{{PAGENAME}}]]
+
[[Category:United States military installations by state templates]]
[[Category:Military facilities in Washington, D.C.]]
+
[[Category:Military facilities in Washington, D.C.|~]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:44, 18 January 2019

Initial visibility: currently defaults to autocollapse

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

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