Difference between revisions of "Template:Lists of aircraft"
Jump to navigation
Jump to search
Template documentation
imported>Jdaloner m ("{{Navbox with collapsible sections" --> "{{Navbox with collapsible groups") |
|||
| Line 1: | Line 1: | ||
| − | {{Navbox with collapsible | + | {{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 | + | {{Navbox with collapsible groups |child |
|secttitlestyle=font-size:95%; | |secttitlestyle=font-size:95%; | ||
Revision as of 14:56, 16 November 2016
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
|namewhere 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}}
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.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |