Difference between revisions of "Template:Parts"
m (add link to page "cargo item") |
m (fix typos) |
||
(3 intermediate revisions by 2 users not shown) | |||
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}}]] | ||
− | |||
| 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}}}}} | ||
− | | state = {{#ifeq:{{{selected|{{{1|}}}}}}| | + | | state = {{#ifeq:{{{selected|{{{1|}}}}}}|fuel tanks|uncollapsed|{{{state2|collapsed}}}}} |
| title = [[Parts{{if lang}}#Fuel tanks|{{Dict/part category|Fuel tanks}}]] | | title = [[Parts{{if lang}}#Fuel tanks|{{Dict/part category|Fuel tanks}}]] | ||
| groupclass = wrap | | groupclass = wrap | ||
Line 114: | Line 113: | ||
| list5 = | | list5 = | ||
* {{LangFallback|PB-X150 Xenon Container|{{Dict/part name|PB-X150 Xenon Container}}}} | * {{LangFallback|PB-X150 Xenon Container|{{Dict/part name|PB-X150 Xenon Container}}}} | ||
− | * {{LangFallback|PB- | + | * {{LangFallback|PB-X50R Xenon Container|{{Dict/part name|PB-X50R Xenon Container}}}} |
− | * {{LangFallback|PB- | + | * {{LangFallback|PB-X750 Xenon Container|{{Dict/part name|PB-X750 Xenon Container}}}} |
| group6 = [[Ore tank{{if lang}}|{{Dict/part category|Ore tanks}}]] | | group6 = [[Ore tank{{if lang}}|{{Dict/part category|Ore tanks}}]] | ||
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}}}}} | ||
− | | state = {{#ifeq:{{{selected|{{{1|}}}}}}| | + | | state = {{#ifeq:{{{selected|{{{1|}}}}}}|engines|uncollapsed|{{{state3|collapsed}}}}} |
| title = [[Parts{{if lang}}#Engines|{{Dict/part category|Engines}}]] | | title = [[Parts{{if lang}}#Engines|{{Dict/part category|Engines}}]] | ||
| groupclass = wrap | | groupclass = wrap | ||
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}}}}} | ||
− | | state = {{#ifeq:{{{selected|{{{1|}}}}}}| | + | | state = {{#ifeq:{{{selected|{{{1|}}}}}}|payload|uncollapsed|{{{state7|collapsed}}}}} |
| title = [[Parts{{if lang}}#Payload|{{Dict/part category|Payload}}]] | | title = [[Parts{{if lang}}#Payload|{{Dict/part category|Payload}}]] | ||
| groupclass = wrap | | groupclass = wrap | ||
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}}}}} | ||
− | | state = {{#ifeq:{{{selected|{{{1|}}}}}}| | + | | state = {{#ifeq:{{{selected|{{{1|}}}}}}|ground|uncollapsed|{{{state9|collapsed}}}}} |
| title = [[Parts{{if lang}}#Ground|{{Dict/part category|Ground}}]] | | title = [[Parts{{if lang}}#Ground|{{Dict/part category|Ground}}]] | ||
| groupclass = wrap | | groupclass = wrap | ||
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}}}}} | ||
− | | state = {{#ifeq:{{{selected|{{{1|}}}}}}| | + | | state = {{#ifeq:{{{selected|{{{1|}}}}}}|thermal|uncollapsed|{{{state10|collapsed}}}}} |
| title = [[Parts{{if lang}}#Thermal|{{Dict/part category|Thermal}}]] | | title = [[Parts{{if lang}}#Thermal|{{Dict/part category|Thermal}}]] | ||
| groupclass = wrap | | groupclass = wrap | ||
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}}}}} | ||
− | | state = {{#ifeq:{{{selected|{{{1|}}}}}}| | + | | state = {{#ifeq:{{{selected|{{{1|}}}}}}|electrical|uncollapsed|{{{state11|collapsed}}}}} |
| title = [[Parts{{if lang}}#Electrical|{{Dict/part category|Electrical}}]] | | title = [[Parts{{if lang}}#Electrical|{{Dict/part category|Electrical}}]] | ||
| groupclass = wrap | | groupclass = wrap | ||
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}}}}} | ||
− | | state = {{#ifeq:{{{selected|{{{1|}}}}}}| | + | | state = {{#ifeq:{{{selected|{{{1|}}}}}}|communication|uncollapsed|{{{state12|collapsed}}}}} |
| title = [[Parts{{if lang}}#Communication|{{Dict/part category|Communication}}]] | | title = [[Parts{{if lang}}#Communication|{{Dict/part category|Communication}}]] | ||
| groupclass = wrap | | groupclass = wrap | ||
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}}}}} | ||
− | | state = {{#ifeq:{{{selected|{{{1|}}}}}}| | + | | state = {{#ifeq:{{{selected|{{{1|}}}}}}|cargo|uncollapsed|{{{state14|collapsed}}}}} |
| title = [[Parts{{if lang}}#Cargo|{{Dict/part category|Cargo}}]] | | title = [[Parts{{if lang}}#Cargo|{{Dict/part category|Cargo}}]] | ||
| groupclass = wrap | | groupclass = wrap | ||
| listclass = hlist | | listclass = hlist | ||
− | | group1 = {{Dict/part category|Cargo storages}} | + | | group1 = [[Cargo module{{if lang}}|{{Dict/part category|Cargo storages}}]] |
| list1 = | | list1 = | ||
* {{LangFallback|SEQ-24 Cargo Storage Unit|{{Dict/part name|SEQ-24 Cargo Storage Unit}}}} | * {{LangFallback|SEQ-24 Cargo Storage Unit|{{Dict/part name|SEQ-24 Cargo Storage Unit}}}} | ||
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}}}}} | ||
− | | state = {{#ifeq:{{{selected|{{{1|}}}}}}|legacy|uncollapsed|{{{state16|collapsed}}}}} | + | | state = {{#ifeq:{{{selected|{{{1|}}}}}}|legacy parts|uncollapsed|{{{state16|collapsed}}}}} |
| title = [[Legacy parts{{if lang}}|{{Dict/part category|Legacy parts}}]] | | title = [[Legacy parts{{if lang}}|{{Dict/part category|Legacy parts}}]] | ||
| groupclass = wrap | | groupclass = wrap | ||
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}} |
− | |||
</noinclude> | </noinclude> |
Latest revision as of 18:46, 9 October 2024
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
- 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
|
The above documentation is transcluded from Template:Parts/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |