Difference between revisions of "Template:Parts"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (added link to cargo module)
m (Make navboxes uniform)
Line 3: Line 3:
 
| state = {{{state|}}}
 
| state = {{{state|}}}
 
| title = [[Parts{{if lang}}|{{Dict/part category|Default parts}}]]
 
| title = [[Parts{{if lang}}|{{Dict/part category|Default parts}}]]
| image =
 
 
| selected = {{{selected|{{{1|}}}}}} <!-- For {{Navbox with collapsible groups}}, ignored by {{Navbox}} -->
 
| selected = {{{selected|{{{1|}}}}}} <!-- For {{Navbox with collapsible groups}}, ignored by {{Navbox}} -->
  
Line 43: Line 42:
 
* {{LangFallback|RC-001S Remote Guidance Unit|{{Dict/part name|RC-001S Remote Guidance Unit}}}}
 
* {{LangFallback|RC-001S Remote Guidance Unit|{{Dict/part name|RC-001S Remote Guidance Unit}}}}
 
* {{LangFallback|RC-L01 Remote Guidance Unit|{{Dict/part name|RC-L01 Remote Guidance Unit}}}}
 
* {{LangFallback|RC-L01 Remote Guidance Unit|{{Dict/part name|RC-L01 Remote Guidance Unit}}}}
  }}
+
}}
  
 
| list2 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
 
| list2 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
Line 122: Line 121:
 
* {{LangFallback|Radial Holding Tank|{{Dict/part name|Radial Holding Tank}}}}
 
* {{LangFallback|Radial Holding Tank|{{Dict/part name|Radial Holding Tank}}}}
 
* {{LangFallback|Small Holding Tank|{{Dict/part name|Small Holding Tank}}}}
 
* {{LangFallback|Small Holding Tank|{{Dict/part name|Small Holding Tank}}}}
  }}
+
}}
  
 
| list3 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
 
| list3 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
Line 178: Line 177:
 
   | list5 =
 
   | list5 =
 
* {{LangFallback|IX-6315 "Dawn" Electric Propulsion System|{{Dict/part name|IX-6315 "Dawn" Electric Propulsion System}}}}
 
* {{LangFallback|IX-6315 "Dawn" Electric Propulsion System|{{Dict/part name|IX-6315 "Dawn" Electric Propulsion System}}}}
  }}
+
}}
  
 
| list4 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
 
| list4 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
Line 203: Line 202:
 
   | list3 =
 
   | list3 =
 
* {{LangFallback|CH-J3 Fly-By-Wire Avionics Hub|{{Dict/part name|CH-J3 Fly-By-Wire Avionics Hub}}}}
 
* {{LangFallback|CH-J3 Fly-By-Wire Avionics Hub|{{Dict/part name|CH-J3 Fly-By-Wire Avionics Hub}}}}
  }}
+
}}
  
 
| list5 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
 
| list5 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
Line 248: Line 247:
 
* {{LangFallback|TVR-300L Stack Tri-Adapter|{{Dict/part name|TVR-300L Stack Tri-Adapter}}}}
 
* {{LangFallback|TVR-300L Stack Tri-Adapter|{{Dict/part name|TVR-300L Stack Tri-Adapter}}}}
 
* {{LangFallback|TVR-400L Stack Quad-Adapter|{{Dict/part name|TVR-400L Stack Quad-Adapter}}}}
 
* {{LangFallback|TVR-400L Stack Quad-Adapter|{{Dict/part name|TVR-400L Stack Quad-Adapter}}}}
  }}
+
}}
  
 
| list6 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
 
| list6 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
Line 286: Line 285:
 
* {{LangFallback|Inline Clamp-O-Tron|{{Dict/part name|Inline Clamp-O-Tron}}}}
 
* {{LangFallback|Inline Clamp-O-Tron|{{Dict/part name|Inline Clamp-O-Tron}}}}
 
* {{LangFallback|Mk2 Clamp-O-Tron|{{Dict/part name|Mk2 Clamp-O-Tron}}}}
 
* {{LangFallback|Mk2 Clamp-O-Tron|{{Dict/part name|Mk2 Clamp-O-Tron}}}}
  }}
+
}}
  
 
| list7 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
 
| list7 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
Line 313: Line 312:
 
* {{LangFallback|Service Bay (1.25m)|{{Dict/part name|Service Bay (1.25m)}}}}
 
* {{LangFallback|Service Bay (1.25m)|{{Dict/part name|Service Bay (1.25m)}}}}
 
* {{LangFallback|Service Bay (2.5m)|{{Dict/part name|Service Bay (2.5m)}}}}
 
* {{LangFallback|Service Bay (2.5m)|{{Dict/part name|Service Bay (2.5m)}}}}
  }}
+
}}
  
 
| list8 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
 
| list8 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
Line 394: Line 393:
 
* {{LangFallback|AV-T1 Winglet|{{Dict/part name|AV-T1 Winglet}}}}
 
* {{LangFallback|AV-T1 Winglet|{{Dict/part name|AV-T1 Winglet}}}}
 
* {{LangFallback|Basic Fin|{{Dict/part name|Basic Fin}}}}
 
* {{LangFallback|Basic Fin|{{Dict/part name|Basic Fin}}}}
  }}
+
}}
  
 
| list9 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
 
| list9 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
Line 423: Line 422:
 
* {{LangFallback|RoveMax Model XL3|{{Dict/part name|RoveMax Model XL3}}}}
 
* {{LangFallback|RoveMax Model XL3|{{Dict/part name|RoveMax Model XL3}}}}
 
* {{LangFallback|TR-2L Ruggedized Vehicular Wheel|{{Dict/part name|TR-2L Ruggedized Vehicular Wheel}}}}
 
* {{LangFallback|TR-2L Ruggedized Vehicular Wheel|{{Dict/part name|TR-2L Ruggedized Vehicular Wheel}}}}
  }}
+
}}
  
 
| list10 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
 
| list10 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
Line 447: Line 446:
 
* {{LangFallback|Thermal Control System (medium)|{{Dict/part name|Thermal Control System (medium)}}}}
 
* {{LangFallback|Thermal Control System (medium)|{{Dict/part name|Thermal Control System (medium)}}}}
 
* {{LangFallback|Thermal Control System (small)|{{Dict/part name|Thermal Control System (small)}}}}
 
* {{LangFallback|Thermal Control System (small)|{{Dict/part name|Thermal Control System (small)}}}}
  }}
+
}}
  
 
| list11 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
 
| list11 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
Line 482: Line 481:
 
* {{LangFallback|Z-400 Rechargeable Battery|{{Dict/part name|Z-400 Rechargeable Battery}}}}
 
* {{LangFallback|Z-400 Rechargeable Battery|{{Dict/part name|Z-400 Rechargeable Battery}}}}
 
* {{LangFallback|Z-4K Rechargeable Battery Bank|{{Dict/part name|Z-4K Rechargeable Battery Bank}}}}
 
* {{LangFallback|Z-4K Rechargeable Battery Bank|{{Dict/part name|Z-4K Rechargeable Battery Bank}}}}
  }}
+
}}
  
 
| list12 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
 
| list12 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
Line 504: Line 503:
 
* {{LangFallback|RA-15 Relay Antenna|{{Dict/part name|RA-15 Relay Antenna}}}}
 
* {{LangFallback|RA-15 Relay Antenna|{{Dict/part name|RA-15 Relay Antenna}}}}
 
* {{LangFallback|RA-2 Relay Antenna|{{Dict/part name|RA-2 Relay Antenna}}}}
 
* {{LangFallback|RA-2 Relay Antenna|{{Dict/part name|RA-2 Relay Antenna}}}}
  }}
+
}}
  
 
| list13 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
 
| list13 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
Line 540: Line 539:
 
   | list5 =
 
   | list5 =
 
* {{LangFallback|Experiment Storage Unit|{{Dict/part name|Experiment Storage Unit}}}}
 
* {{LangFallback|Experiment Storage Unit|{{Dict/part name|Experiment Storage Unit}}}}
  }}
+
}}
  
 
| list14 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
 
| list14 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
Line 568: Line 567:
 
* {{LangFallback|Work Lamp (Stand)|{{Dict/part name|Work Lamp (Stand)}}}}
 
* {{LangFallback|Work Lamp (Stand)|{{Dict/part name|Work Lamp (Stand)}}}}
 
* {{LangFallback|Stamp-O-Tron Ground Anchor|{{Dict/part name|Stamp-O-Tron Ground Anchor}}}}
 
* {{LangFallback|Stamp-O-Tron Ground Anchor|{{Dict/part name|Stamp-O-Tron Ground Anchor}}}}
  }}
+
}}
  
 
| list15 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
 
| list15 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
Line 632: Line 631:
 
* {{LangFallback|Starshot-8|{{Dict/part name|Starshot-8}}}}
 
* {{LangFallback|Starshot-8|{{Dict/part name|Starshot-8}}}}
 
* {{LangFallback|Starshot-32|{{Dict/part name|Starshot-32}}}}
 
* {{LangFallback|Starshot-32|{{Dict/part name|Starshot-32}}}}
  }}
+
}}
  
 
| list16 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
 
| list16 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
Line 660: Line 659:
 
* {{LangFallback|TR-2C Stack Separator|{{Dict/part name|TR-2C Stack Separator}}}}
 
* {{LangFallback|TR-2C Stack Separator|{{Dict/part name|TR-2C Stack Separator}}}}
 
* {{LangFallback|TR-XL Stack Separator|{{Dict/part name|TR-XL Stack Separator}}}}
 
* {{LangFallback|TR-XL Stack Separator|{{Dict/part name|TR-XL Stack Separator}}}}
}}
+
}}
 +
 
 
}}<includeonly>{{Main other|[[Category:Default parts{{if lang}}]]}}</includeonly><noinclude>
 
}}<includeonly>{{Main other|[[Category:Default parts{{if lang}}]]}}</includeonly><noinclude>
{{documentation}}
+
{{Documentation}}
<!-- Add categories to the /doc subpage, not here! -->
 
 
</noinclude>
 
</noinclude>

Revision as of 20:30, 22 September 2024

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.

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