Difference between revisions of "Template:Parts"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Undo revision 102466 by AlpacaMall (talk); yup definitely broke language support)
m (removed duplicate title)
 
(2 intermediate revisions by the same user not shown)
Line 20: Line 20:
 
| list1 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
 
| list1 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
 
  | state = {{#ifeq:{{{selected|{{{1|}}}}}}|command modules|uncollapsed|{{{state1|collapsed}}}}}
 
  | state = {{#ifeq:{{{selected|{{{1|}}}}}}|command modules|uncollapsed|{{{state1|collapsed}}}}}
  | title = [[Command module{{if lang}}|{{lang
+
  | title = [[Parts{{if lang}}#{{lang
 +
  |en=Pods
 +
  |de=Kapseln
 +
  |es=Cápsulas
 +
  |fr=Modules de commande
 +
  |hr=Kapsule
 +
  |hu=Vezérlés
 +
  |it=Moduli di Comando
 +
  |ja=操縦装置
 +
  |ko=사령선
 +
  |nl=Brandstoftanks
 +
  |pl=Moduły Załogowe
 +
  |pt=Kapsula
 +
  |ru=Кабины
 +
  |zh-cn=指令舱
 +
  |cs=Kabiny
 +
}}|{{lang
 
   |en=Command modules
 
   |en=Command modules
 
   |de=Kommandomodule
 
   |de=Kommandomodule
Line 26: Line 42:
 
   |fr=Modules de Commande
 
   |fr=Modules de Commande
 
   |hr=Zapovjedni moduli
 
   |hr=Zapovjedni moduli
 +
  |hu=Vezérlőegységek
 
   |it=Moduli di Comando
 
   |it=Moduli di Comando
 
   |ja=操縦装置
 
   |ja=操縦装置
 +
  |ko=사령선
 
   |nl=Commando modules
 
   |nl=Commando modules
 
   |pl=Moduły dowodzenia
 
   |pl=Moduły dowodzenia
 +
  |pt=Kapsula
 
   |ru=Командные отсеки
 
   |ru=Командные отсеки
 
   |zh-cn=座舱
 
   |zh-cn=座舱
 +
  |cs=Kabiny
 
  }}]]
 
  }}]]
 
  | groupclass = wrap
 
  | groupclass = wrap
Line 1,327: Line 1,347:
  
 
  | group3 = {{lang
 
  | group3 = {{lang
   |en=Lamps
+
   |en=Deployables
  |de=Scheinwerfer
 
  |es=Lámparas
 
  |fr=Lampes
 
  |hr=Svjetiljke
 
  |it=Faretti
 
  |ja=ライト
 
  |nl=Lampen
 
  |pl=Lampy
 
  |ru=Осветительные приборы
 
  |zh-cn=照明灯
 
 
  }}
 
  }}
 
  | list3 =
 
  | list3 =
 
* {{LangFallback|Work Lamp (Small)}}
 
* {{LangFallback|Work Lamp (Small)}}
 
* {{LangFallback|Work Lamp (Stand)}}
 
* {{LangFallback|Work Lamp (Stand)}}
 +
* {{LangFallback|Stamp-O-Tron Ground Anchor}}
 
}}
 
}}
  

Latest revision as of 03:51, 21 September 2021

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

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