Difference between revisions of "Template:MOMilitary"

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>RandomLittleHelper
(Add Fort Leonard Wood)
Line 11: Line 11:
 
  | groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
  | groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
  | group1 = Fort
 
  | group1 = Fort
  | list1 =  
+
  | list1 = [[Fort Leonard Wood (military base)|Leonard Wood]]
 
}}
 
}}
 
| group2 = [[United States Air Force|Air Force]]
 
| group2 = [[United States Air Force|Air Force]]
Line 17: Line 17:
 
  | groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
  | groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
  | group2 = Base
 
  | group2 = Base
  | list2 =
+
  | list2 =  
 
* [[Whiteman Air Force Base|Whiteman]]
 
* [[Whiteman Air Force Base|Whiteman]]
 
  | group3 = Station
 
  | group3 = Station

Revision as of 03:04, 3 October 2012

Initial visibility: currently defaults to autocollapse

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

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