Difference between revisions of "Template:Parts/doc"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Merged in docs from template page)
m
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
<!-- Please place categories where indicated at the bottom of this page -->
 
<!-- Please place categories where indicated at the bottom of this page -->
 
== Usage ==
 
== Usage ==
Just add {{tlx|{{BASEPAGENAME}}}} at the bottom of the page for a part. This will also add the page to [[:Category:Default parts]].
+
Add {{tlx|{{BASEPAGENAME}}}} at the bottom of an article that is related to a part of the stock game.
  
===Purpose===
+
=== Purpose ===
 
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.
 
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.
  
 
Articles including the template will be added to [[:Category:Default parts]].
 
Articles including the template will be added to [[:Category:Default parts]].
  
===Collapsible options===
+
=== Collapsible options ===
 
{{Collapsible sections option
 
{{Collapsible sections option
| list = {{hlist| command modules | propulsion | control | structural | aerodynamic | utility | science }}
+
| list = {{hlist| command modules | fuel tanks | engines | control | structural | coupling | payload | aerodynamic | ground | thermal | electrical | communication | science | cargo | utility | legacy parts }}
 
| example =  command modules
 
| example =  command modules
 
| default =  <!--(optional)-->
 
| default =  <!--(optional)-->
 
}}
 
}}
{{Collapsible option}}
 
  
== Translation status ==
+
{{Collapsible option|statename=optional}}
===Translations for 1.0 parts===
+
 
Translations are needed for parts added in [[1.0]].
+
=== Translation status ===
===Translations for older parts===
 
 
* <del>'''German (de):''' Complete.</del>
 
* <del>'''German (de):''' Complete.</del>
* '''English (en):''' Complete. (except “RCS Engines” and “Monopropellant fuel tanks”)
+
* <del>'''Spanish (es):''' Complete.</del>
* <del>'''Polish (pl):''' Complete. (except “RCS Engines” and “Monopropellant fuel tanks”)</del>
+
* <del>'''French (fr):''' Complete.</del>
* <del>'''Croatian (hr):''' Complete. (except “RCS Engines” and “Monopropellant fuel tanks”)</del>
+
* '''Croatian (hr):''' Needs translation for newer parts.
* <del>'''French (fr):''' Partial. (except “RCS Engines” and “Monopropellant fuel tanks”)</del>
+
* <del>'''Italian (it):''' Complete.</del>
 +
* <del>'''Japanese (ja):''' Complete.</del>
 +
* <del>'''Dutch (nl):''' Complete.</del>
 +
* '''Polish (pl):''' Needs translation for newer parts.
 +
* '''Russian (ru):''' Needs translation for newer parts.
 +
 
 +
=== See also ===
 +
{{Project navboxes}}
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
Line 31: Line 36:
 
[[Category:Navigational boxes]]
 
[[Category:Navigational boxes]]
 
[[Category:Categorising templates]]
 
[[Category:Categorising templates]]
 +
[[Category:Translating templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 01:00, 28 July 2021

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/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

  • 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