Difference between revisions of "Template:Parts/sandbox"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Allow wrapping in groups due to some quite long group names. N.B. this requires a very small addition to Wikipedia's Navbox CSS: th.navbox-group.wrap { white-space: normal; })
m (Kill unwanted empty paragraph at the foot. Change conditional categorisation from parser function to {{main other}}.)
Line 773: Line 773:
  
 
}}
 
}}
}}
+
}}<includeonly>{{main other|[[Category:Default parts{{if lang}}]]}}</includeonly><noinclude>
<includeonly>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Default parts{{if lang}}]] | }}</includeonly><noinclude>
 
 
 
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 09:55, 1 June 2015

Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:Parts/sandbox

Usage

Add {{Parts}} at the bottom of an article that is related to a part of the stock game.

Purpose

The purpose of the {{Parts}} template is to provide a structure to ease navigation between the many default parts available in KSP. Feel free to restructure it to add further clarity.

Articles including the template will be added to Category:Default parts.

Collapsible options

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
    • fuel tanks
    • engines
    • control
    • structural
    • coupling
    • payload
    • aerodynamic
    • ground
    • thermal
    • electrical
    • communication
    • science
    • cargo
    • utility
    • legacy parts
  • For example: {{Parts/sandbox |command modules}}

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.

Translation status

  • German (de): Complete.
  • Spanish (es): Complete.
  • French (fr): Complete.
  • Croatian (hr): Needs translation for newer parts.
  • Italian (it): Complete.
  • Japanese (ja): Complete.
  • Dutch (nl): Complete.
  • Polish (pl): Needs translation for newer parts.
  • Russian (ru): Needs translation for newer parts.

See also