Difference between revisions of "Template:ARMilitary"

From blackwiki
Jump to navigation Jump to search
blackwiki>Bahamut0013
(better link)
blackwiki>Plastikspork
m (use listclass = hlist in navbox as per WP:HLIST and fix images stretching group labels)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
|name  = ARMilitary
+
| name  = ARMilitary
|title = Current [[military installations]] of [[Arkansas]]
+
| title = Current [[military installations]] of [[Arkansas]]
|image = [[Image:Flag of Arkansas.svg|100px]]
+
| listclass = hlist
|state = <includeonly>{{{state|collapsed}}}</includeonly>  
+
| image = [[Image:Flag of Arkansas.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 = Arsenal
+
  | group1 = Arsenal
  |list1 = [[Pine Bluff Arsenal|Pine Bluff]]
+
  | list1 =
  |group2 = [[Arkansas Army National Guard|Army National Guard]] Airfield
+
* [[Pine Bluff Arsenal|Pine Bluff]]
  |list2 = [[Fort Chaffee]]{{•w}}Robinson Army Airfield
+
  | group2 = [[Arkansas Army National Guard|Army National Guard]] Airfield
 +
  | list2 =
 +
* [[Fort Chaffee]]
 +
* Robinson Army Airfield
 
}}
 
}}
  
|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}}
  |group1 = Range
+
  | group1 = Range
  |list1  = {{nowrap begin}} Razorback Range {{nowrap end}}
+
  | list1  =  
 +
* Razorback Range  
 
}}
 
}}
 
}}<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 in Arkansas|~]]
 
[[Category:Military in Arkansas|~]]
 
</noinclude>
 
</noinclude>

Revision as of 00:00, 31 January 2012

Initial visibility: currently defaults to autocollapse

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

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