Difference between revisions of "Template:KSMilitary"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(use listclass = hlist in navbox as per WP:HLIST and fix images stretching group labels)
imported>Anomalous+0
(correct word)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
 
| name  = KSMilitary
 
| name  = KSMilitary
| title = [[Military installations]] of [[Kansas]]
+
| title = [[Military base|Military installations]] in [[Kansas]]
 
| listclass = hlist
 
| listclass = hlist
 
| image = [[Image:Flag of Kansas.svg|85px]]
 
| image = [[Image:Flag of Kansas.svg|85px]]
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 =
 
* [[Fort Leavenworth|Leavenworth]]
 
* [[Fort Leavenworth|Leavenworth]]
 +
* [[Fort Riley|Riley]]
 
}}
 
}}
 
| group2 = [[United States Air Force|Air Force]]
 
| group2 = [[United States Air Force|Air Force]]
| list2  = {{Navbox|child
+
| list2  = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
 
  | group2 = Base
 
  | group2 = Base
 
  | list2 =
 
  | list2 =
Line 22: Line 21:
 
  | group3 = Station
 
  | group3 = Station
 
  | list3 =  
 
  | list3 =  
}}
+
   
| group3 = [[United States Navy|Navy]]
 
| list3 = {{Navbox|child
 
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
| group1 = Naval Air Station
 
| list1 =
 
| group2 = Radio Station
 
| list2 =
 
| group3 = Shipyard
 
| list3 =
 
| group4 = Prison
 
| list4 =
 
}}
 
| group5 = [[United States Coast Guard|Coast Guard]]
 
| list5  = {{Navbox|child
 
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
| group1 = Station
 
| list1 =
 
 
}}
 
}}
 
}}<noinclude>
 
}}<noinclude>

Latest revision as of 21:12, 18 January 2019

Initial visibility: currently defaults to autocollapse

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

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