Difference between revisions of "Template:Parts/doc"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "{{Documentation subpage}} <!---PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE---> {{Collapsible option |statename=optional}} <includeonly> <!---CATEGORIES HERE, PLEASE--->...")
 
m ({{Collapsible sections option}})
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!---PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE--->
 
<!---PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE--->
{{Collapsible option |statename=optional}}
+
{{Collapsible option}}
 +
{{Collapsible sections option
 +
| list = {{hlist| command modules | propulsion | control | structural | aerodynamic | utility | science }}
 +
| example =  <!--(optional)-->
 +
| default =  <!--(optional)-->
 +
}}
  
 
<includeonly>
 
<includeonly>

Revision as of 00:54, 1 June 2015

How to manage this template's initial visibility
To manage this template's visibility when it first appears, add the parameter:

|state=collapsed to show the template in its collapsed state, i.e. hidden apart from its titlebar – e.g. {{Parts |state=collapsed}}
|state=expanded to show the template in its expanded state, i.e. fully visible – e.g. {{Parts |state=expanded}}

Unless set otherwise (see the |state= parameter in the template's code), the template's default state is expanded.

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 names identifying the groups/sections (omit any speech or quote marks):
    • command modules
    • propulsion
    • control
    • structural
    • aerodynamic
    • utility
    • science