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 (Update documentation)
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!---PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE--->
+
<!-- Please place categories where indicated at the bottom of this page -->
{{Collapsible option |statename=optional}}
+
== Usage ==
 +
Just add {{tlx|{{BASEPAGENAME}}}} at the bottom of the page for a part.
  
<includeonly>
+
===Purpose===
<!---CATEGORIES HERE, PLEASE--->
+
The purpose of the {{tl|{{BASEPAGENAME}}}} 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.
[[Category:Navbox templates]]
+
 
</includeonly>
+
Articles including the template will be added to [[:Category:Default parts]].
 +
 
 +
===Collapsible options===
 +
{{Collapsible sections option
 +
| list = {{hlist| command modules | fuel tanks | engines | control | structural | coupling | payload | aerodynamic | ground | thermal | electrical | communication | utility | science }}
 +
| example =  command modules
 +
| default =  <!--(optional)-->
 +
}}
 +
{{Collapsible option}}
 +
 
 +
===Translation status===
 +
====Translations for older parts====
 +
* <del>'''German (de):''' Complete.</del>
 +
* <del>'''English (en):''' Complete.</del>
 +
* <del>'''Polish (pl):''' Complete. (except “RCS Engines” and “Monopropellant fuel tanks”)</del>
 +
* <del>'''Croatian (hr):''' Complete. (except “RCS Engines” and “Monopropellant fuel tanks”)</del>
 +
* <del>'''French (fr):''' Complete.</del>
 +
* <del>'''Dutch (nl):''' Complete.</del>
 +
 
 +
===See also===
 +
{{Project navboxes}}
 +
 
 +
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 +
<!-- Categories below this line, please -->
 +
[[Category:Navigational boxes]]
 +
[[Category:Categorising templates]]
 +
[[Category:Translating templates]]
 +
}}</includeonly>

Revision as of 00:09, 15 October 2016

Usage

Just add {{Parts}} at the bottom of the page for a part.

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
    • utility
    • science
  • For example: {{Parts/doc |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

Translations for older parts

  • German (de): Complete.
  • English (en): Complete.
  • Polish (pl): Complete. (except “RCS Engines” and “Monopropellant fuel tanks”)
  • Croatian (hr): Complete. (except “RCS Engines” and “Monopropellant fuel tanks”)
  • French (fr): Complete.
  • Dutch (nl): Complete.

See also