Difference between revisions of "Template:GAMilitary"

From blackwiki
Jump to navigation Jump to search
(cap cap)
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  = GAMilitary
+
| name  = GAMilitary
|title = Current [[military installations]] of [[Georgia (U.S. state)|Georgia]]
+
| title = Current [[military installations]] of [[Georgia (U.S. state)|Georgia]]
|image = [[Image:Flag of Georgia (U.S. state).svg|100px]]
+
| listclass = hlist
|state = <includeonly>{{{state|collapsed}}}</includeonly>  
+
| image = [[Image:Flag of Georgia (U.S. state).svg|85px]]
|style = wide
+
| state = {{{state<includeonly>|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 = [[Fort Benning|Benning]]{{•w}}[[Fort Gillem|Gillem]]{{•w}}[[Fort Gordon|Gordon]]{{•w}}[[Fort McPherson|McPherson]]{{•w}}[[Fort Stewart|Stewart]]
+
  | list1 =
  |group3 = Air Field
+
* [[Fort Benning|Benning]]
  |list3 = [[Hunter Army Airfield|Hunter]]
+
* [[Fort Gillem|Gillem]]
 +
* [[Fort Gordon|Gordon]]
 +
* [[Fort McPherson|McPherson]]
 +
* [[Fort Stewart|Stewart]]
 +
  | group3 = Air Field
 +
  | list3 =
 +
* [[Hunter Army Airfield|Hunter]]
 
}}
 
}}
  
|group2 = {{nowrap|[[United States Marine Corps|Marines]][[Image:USMC logo.svg|40px]]}}
+
| group2 = [[United States Marine Corps|Marines]]
|list2  = {{Navbox subgroups
+
| list2  = {{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 Logistics Base Albany|Albany]]
+
  | list1 =
 +
* [[Marine Corps Logistics Base Albany|Albany]]
 
}}
 
}}
  
|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 = Air Station
+
  | group1 = Air Station
  |list1 = [[Naval Air Station Atlanta|Atlanta]]
+
  | list1 =
  |group2 = Base
+
* [[Naval Air Station Atlanta|Atlanta]]
  |list2 = [[Naval Submarine Base Kings Bay|Kings Bay]]
+
  | group2 = Base
 +
  | list2 =
 +
* [[Naval Submarine Base Kings Bay|Kings Bay]]
 
}}
 
}}
  
|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  = {{Navbox|child
  |groupstyle = text-align:right; {{WPMILHIST Infobox style|nav_box_label}}
+
  | groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
  |group1 = [[Air Force Base]]
+
  | group1 = [[Air Force Base]]
  |list1  = {{nowrap begin}} [[Moody Air Force Base|Moody]] {{•w}} [[Robins Air Force Base|Robins]] {{nowrap end}}
+
  | list1  =  
 +
* [[Moody Air Force Base|Moody]]  
 +
* [[Robins Air Force Base|Robins]]  
 
}}
 
}}
  
|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 = [[United States Coast Guard Air Stations|Air Station]]
+
  | group1 = [[United States Coast Guard Air Stations|Air Station]]
  |list1 = Savannah  
+
  | list1 = Savannah  
 
}}
 
}}
 
}}<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 Georgia]]
 
[[Category:Military facilities in Georgia]]
 
</noinclude>
 
</noinclude>

Revision as of 00:05, 31 January 2012

Initial visibility: currently defaults to autocollapse

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

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