Difference between revisions of "Template:Army units"

From blackwiki
Jump to navigation Jump to search
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 3: Line 3:
 
| listclass = hlist
 
| listclass = hlist
 
| title = [[Military organization|Military units]]
 
| title = [[Military organization|Military units]]
 +
| state = {{{state|autocollapse}}}|
  
 
| list1 =  
 
| list1 =  
Line 19: Line 20:
 
* [[Theater (warfare)|Theater]]
 
* [[Theater (warfare)|Theater]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Military navigational boxes]]
 
[[Category:Military navigational boxes]]
  

Revision as of 02:20, 17 January 2013

Initial visibility: currently defaults to autocollapse

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

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

ar:قالب:وحدات عسكرية bn:টেমপ্লেট:আর্মি_ইউনিট da:Skabelon:Militære enheder hu:Sablon:Katonai alakulatok ja:Template:陸軍の単位 ko:틀:부대 단위 ru:Шаблон:Военное соединение sv:Mall:Förbandsstorlekar (armén) uk:Шаблон:Військова організація