Difference between revisions of "Template:HIMilitary"

From blackwiki
Jump to navigation Jump to search
imported>Travis.Thurston
(Reverted to revision 417070885 by DASHBot: restore template. (TW))
imported>Plastikspork
(use listclass = hlist in navbox as per WP:HLIST and fix images stretching group labels)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
|name  = HIMilitary
+
| name  = HIMilitary
|title = [[Military base|Military installations]] of [[Hawaii]]
+
| title = [[Military base|Military installations]] of [[Hawaii]]
|image = [[Image:Flag of Hawaii.svg|100px]]
+
| listclass = hlist
|state = <includeonly>{{{state|collapsed}}}</includeonly>  
+
| image = [[Image:Flag of Hawaii.svg|85px]]
|style = wide
+
| state = <includeonly>{{{state|collapsed}}}</includeonly>  
 +
| style = wide
  
|group1 = {{nowrap|[[United States Army|Army]][[Image:United States Department of the Army Seal.svg|40px]]}}
+
| group1 = [[United States Army|Army]]
|list1  = {{Navbox subgroups
+
| list1  = {{Navbox|child
  |groupstyle = text-align:right; {{WPMILHIST Infobox style|nav_box_label}}
+
  | groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
  |group1 = Fort
+
  | group1 = Fort
  |list1 =  
+
  | list1 =  
 
}}
 
}}
|group2 = {{nowrap|[[United States Air Force|Air Force]][[Image:Seal of the US Air Force.svg|40px]]}}
+
| group2 = [[United States Air Force|Air Force]]
|list2  = {{Navbox subgroups
+
| list2  = {{Navbox|child
  |groupstyle = text-align:right; {{WPMILHIST Infobox style|nav_box_label}}
+
  | groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
  |group2 = Base
+
  | group2 = Base
  |list2 = [[Hickam Air Force Base|Hickam]]
+
  | list2 =
  |group3 = Station
+
* [[Hickam Air Force Base|Hickam]]
  |list3 = [[Bellows Air Force Station|Bellows]]
+
  | group3 = Station
 +
  | list3 =
 +
* [[Bellows Air Force Station|Bellows]]
 
}}
 
}}
|group3 = {{nowrap|[[United States Navy|Navy]][[Image:US-DeptOfNavy-Seal.svg|40px]]}}
+
| group3 = [[United States Navy|Navy]]
|list3  = {{Navbox subgroups
+
| list3  = {{Navbox|child
  |groupstyle = text-align:right; {{WPMILHIST Infobox style|nav_box_label}}
+
  | groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
  |group1 = Naval Air Station
+
  | group1 = Naval Air Station
  |list1 =  
+
  | list1 =  
  |group2 = Radio Station
+
  | group2 = Radio Station
  |list2 =  
+
  | list2 =  
  |group3 = Shipyard
+
  | group3 = Shipyard
  |list3 =  
+
  | list3 =  
  |group4 = Prison
+
  | group4 = Prison
  |list4 =  
+
  | list4 =  
 
}}
 
}}
|group4 = {{nowrap|[[United States Marine Corps|Marine Corps]][[File:USMC logo.svg|40px]]}}
+
| group4 = [[United States Marine Corps|Marine Corps]]
|list4  = {{Navbox subgroups
+
| list4  = {{Navbox|child
  |groupstyle = text-align:right; {{WPMILHIST Infobox style|nav_box_label}}
+
  | groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
  |group1 = Base
+
  | group1 = Base
  |list1 = [[Marine Corps Base Hawaii]]
+
  | list1 =
  |group2 = Air Station
+
* [[Marine Corps Base Hawaii]]
  |list2 = [[Marine Corps Air Station Kaneohe Bay]]
+
  | group2 = Air Station
  |group3 = Camp
+
  | list2 =
  |list3 = [[Camp H. M. Smith]]
+
* [[Marine Corps Air Station Kaneohe Bay]]
  |group4 = Ranges
+
  | group3 = Camp
  |list4 = [[Bellows Air Force Station#Marine Corps Training Area Bellows|MCTAB]]{{•w}}Puuloa
+
  | list3 =
  |group5 = Decomissioned
+
* [[Camp H. M. Smith]]
  |list5 = [[Marine Corps Air Station Ewa]]{{•w}}[[Camp Tarawa]]
+
  | group4 = Ranges
 +
  | list4 =
 +
* [[Bellows Air Force Station#Marine Corps Training Area Bellows|MCTAB]]
 +
* Puuloa
 +
  | group5 = Decomissioned
 +
  | list5 =
 +
* [[Marine Corps Air Station Ewa]]
 +
* [[Camp Tarawa]]
 
}}
 
}}
|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  = {{Navbox|child
  |groupstyle = text-align:right; {{WPMILHIST Infobox style|nav_box_label}}
+
  | groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
  |group1 = Station
+
  | group1 = Station
  |list1 =  
+
  | list1 =  
 
}}
 
}}
 
}}<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 Hawaii]]
 
[[Category:Military facilities in Hawaii]]
 
</noinclude>
 
</noinclude>

Revision as of 00:06, 31 January 2012

Initial visibility: currently defaults to autocollapse

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

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