Difference between revisions of "Template:Parts"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Undo revision 80457 by Janos (talk) not working so it's useless)
(Add new parts and create legacy parts)
Line 47: Line 47:
 
* {{LangFallback|Mk3 Cockpit}}
 
* {{LangFallback|Mk3 Cockpit}}
 
* {{LangFallback|Mk1 Command Pod}}
 
* {{LangFallback|Mk1 Command Pod}}
* {{LangFallback|Mk1-2 Command Pod}}
+
* {{LangFallback|Mk1-3 Command Pod}}
 
* {{LangFallback|Mk1 Lander Can}}
 
* {{LangFallback|Mk1 Lander Can}}
 
* {{LangFallback|Mk2 Lander Can}}
 
* {{LangFallback|Mk2 Lander Can}}
Line 123: Line 123:
 
  | list1 =  
 
  | list1 =  
 
* {{LangFallback|Oscar-B Fuel Tank}}
 
* {{LangFallback|Oscar-B Fuel Tank}}
* {{LangFallback|ROUND-8 Toroidal Fuel Tank}}
+
* {{LangFallback|R-4 'Dumpling' External Tank}}
 +
* {{LangFallback|R-11 'Baguette' External Tank}}
 +
* {{LangFallback|R-12 'Doughnut' External Tank}}
 
* {{LangFallback|FL-T100 Fuel Tank}}
 
* {{LangFallback|FL-T100 Fuel Tank}}
 
* {{LangFallback|FL-T200 Fuel Tank}}
 
* {{LangFallback|FL-T200 Fuel Tank}}
Line 534: Line 536:
 
* {{LangFallback|TT-70 Radial Decoupler}}
 
* {{LangFallback|TT-70 Radial Decoupler}}
 
* {{LangFallback|Hydraulic Detachment Manifold}}
 
* {{LangFallback|Hydraulic Detachment Manifold}}
* {{LangFallback|TR-2V Stack Decoupler}}
+
* {{LangFallback|TD-06 Decoupler}}
* {{LangFallback|TR-18A Stack Decoupler}}
+
* {{LangFallback|TD-12 Decoupler}}
* {{LangFallback|Rockomax Brand Decoupler}}
+
* {{LangFallback|TD-25 Decoupler}}
* {{LangFallback|TR-38-D}}
+
* {{LangFallback|TD-37 Decoupler}}
  
 
  | group2 = {{lang
 
  | group2 = {{lang
Line 550: Line 552:
 
  }}
 
  }}
 
  | list2 =  
 
  | list2 =  
* {{LangFallback|TR-2C Stack Separator}}
+
* {{LangFallback|TS-06 Stack Separator}}
* {{LangFallback|TR-18D Stack Separator}}
+
* {{LangFallback|TS-12 Stack Separator}}
* {{LangFallback|TR-XL Stack Separator}}
+
* {{LangFallback|TS-25 Stack Separator}}
 +
* {{LangFallback|TS-37 Stack Separator}}
  
 
  | group3 = {{lang
 
  | group3 = {{lang
Line 1,117: Line 1,120:
 
* {{LangFallback|M700 Survey Scanner}}
 
* {{LangFallback|M700 Survey Scanner}}
 
* {{LangFallback|Surface Scanning Module}}
 
* {{LangFallback|Surface Scanning Module}}
 +
 +
| list15 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
 +
| state = {{#ifeq:{{{selected|{{{1|}}}}}}|legacy|uncollapsed|{{{state15|collapsed}}}}}
 +
| title = [[Legacy parts{{if lang}}|{{lang
 +
  |en=Legacy parts
 +
  |de=Kommandomodule
 +
  |fr=Modules de Commande
 +
  |nl=Commando modules
 +
}}]]
 +
| groupclass = wrap
 +
| listclass = hlist
 +
 +
| group1 = {{lang
 +
  |en=Command modules
 +
  |hr=Zapovjedni moduli
 +
  |pl=Moduły dowodzenia
 +
  |de=Kommandomodule
 +
  |ru=Командные отсеки
 +
  |fr=Modules de Commande
 +
  |nl=Commando modules
 +
  |it=Moduli di Comando
 +
}}
 +
| list1 =
 +
* {{LangFallback|Mk1-2 Command Pod}}
 +
 +
| group2 = {{lang
 +
  |en=Fuel tanks
 +
  |pl=Zbiorniki
 +
  |de=Treibstofftanks
 +
  |ru=Топливные баки
 +
  |fr=Réservoirs de Carburant
 +
  |nl=Brandstoftanks
 +
  |it=Serbatoi
 +
}}
 +
| list2 =
 +
* {{LangFallback|ROUND-8 Toroidal Fuel Tank}}
 +
* {{LangFallback|Rockomax X200-8 Fuel Tank}}
 +
* {{LangFallback|Rockomax X200-16 Fuel Tank}}
 +
* {{LangFallback|Rockomax X200-32 Fuel Tank}}
 +
* {{LangFallback|Rockomax Jumbo-64 Fuel Tank}}
 +
 +
| group3 = {{lang
 +
  |en=Decouplers
 +
  |pl=Rozdzielacze
 +
  |hr=Odspojivači
 +
  |de=Abkoppler
 +
  |ru=Отделители
 +
  |nl=Ontkoppelers
 +
  |it=Disaccoppiatori
 +
}}
 +
| list3 =
 +
* {{LangFallback|TR-2V Stack Decoupler}}
 +
* {{LangFallback|TR-18A Stack Decoupler}}
 +
* {{LangFallback|Rockomax Brand Decoupler}}
 +
* {{LangFallback|TR-38-D}}
 +
 +
| group4 = {{lang
 +
  |en=Separators
 +
  |pl=Separatory
 +
  |hr=Razdvajači
 +
  |de=Abtrenner
 +
  |ru=разделители
 +
  |fr=Séparateurs
 +
  |nl=Separatoren
 +
  |it=Separatori
 +
}}
 +
| list4 =
 +
* {{LangFallback|TR-2C Stack Separator}}
 +
* {{LangFallback|TR-18D Stack Separator}}
 +
* {{LangFallback|TR-XL Stack Separator}}
 
}}
 
}}
 
}}<includeonly>{{Main other|[[Category:Default parts{{if lang}}]]}}</includeonly><noinclude>
 
}}<includeonly>{{Main other|[[Category:Default parts{{if lang}}]]}}</includeonly><noinclude>

Revision as of 01:49, 10 March 2018

{{Navbox | name = Parts | state = | title = Default parts | image = | selected =

| list1 = </div>
| list2 =
| list3 =
| list4 =
| list5 =
| list6 =
| list7 =
| list8 =
| list9 =
| list10 =
| list11 =
| list12 =
| list13 =
| list14 =

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.

NOTE: For proper hyperlinks to the headings of the work, it is necessary that on Parts pages the headings are enclosed in <span id="category_name"> tags with unambiguous untranslatable category names: Aerodynamic, Cargo, Command and control, Communication, Coupling, Electrical, Engines, Fuel tanks, Ground, Jet fuselages, Liquid fuel tanks, Monopropellant fuel tanks, Payload, Pods, Science, Structural, Thermal, Utility.

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
    • command and 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

The dictionary entries for this template are included in a separate template {{Dict/part category}}.

See also