Difference between revisions of "Template:Lists of aircraft"

From blackwiki
Jump to navigation Jump to search
imported>Jdaloner
m ("{{Navbox with collapsible sections" --> "{{Navbox with collapsible groups")
Line 1: Line 1:
{{Navbox with collapsible sections
+
{{Navbox with collapsible groups
 
| name = Lists of aircraft
 
| name = Lists of aircraft
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
Line 52: Line 52:
 
| state2 = {{#switch:{{{1|}}} |civil|civil by characteristic=expanded |collapsed}}
 
| state2 = {{#switch:{{{1|}}} |civil|civil by characteristic=expanded |collapsed}}
 
| list2 =
 
| list2 =
  {{Navbox with collapsible sections |child
+
  {{Navbox with collapsible groups |child
 
   |secttitlestyle=font-size:95%;
 
   |secttitlestyle=font-size:95%;
  

Revision as of 14:56, 16 November 2016

Template documentation
How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following words that identify the groups/sections (omit any speech or quotation marks):
  • "civil by characteristic", military
  • For example: {{Lists of aircraft |civil by characteristic}}
  • By default, the "By name" section is set to be expanded (visible) when the template first appears. To override this behavio/ur, use |byname=collapsed

Initial visibility: currently defaults to autocollapse

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

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