Difference between revisions of "Template:Demo parts"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*use more specific categories;)
m (Unneeded param)
 
(13 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{FlipBox|start|style=clear: both; margin: 10px 0; border: 1px solid #ccc; background-color: #F6f6f6; float: left; width:100%|style-header=background: #ccc; padding: .5em; text-align: center; font-size: large|style-content=|title=[[Demo parts{{if lang}}|{{lang|en=Demo parts}}]]}}
+
{{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
{|
+
| name = Demo parts{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
|-valign="top"
+
| state = {{{state|}}}
| '''{{Lang|default=[[Demo parts{{if lang}}|Command Pods]]|en=[[Demo parts#Pods|Command Pods]]|pl=[[Demo parts/pl|Sterujące]]|hr=[[Demo parts/hr|Kapsule]]}}'''
+
| title = [[Demo parts{{if lang}}|{{lang
|| {{LangFallback|Command Pod Mk1}}
+
  |en = Demo parts
 +
  |fr = Pièces disponibles en demo
 +
  |ru = Детали в демонстрационной версии
 +
}}]]
 +
| listclass = hlist
 +
| groupwidth = {{Parts/groupwidth}} <!-- match {{Parts}} for consistency, and to enable stacking of related navboxes -->
  
|-valign="top"
+
| group1 = [[Demo parts{{if lang}}#Pods|{{Dict/part category|Command modules}}]]
| '''{{Lang|default=[[Demo parts{{if lang}}|Propulsion]]|en=[[Demo parts#Propulsion|Propulsion]]|pl=[[Demo parts/pl|Napędy]]|hr=[[Demo parts/hr|Pogon]]}}'''
+
| list1 =
|| {{LangFallback|FL-T400 Fuel Tank}} • {{LangFallback|FL-T800 Fuel Tank}} • {{LangFallback|FTX-2 External Fuel Duct}}
+
* {{LangFallback|Command Pod Mk1}}
 +
* {{LangFallback|Stayputnik Mk. 1}}
  
{{LangFallback|LV-909 Liquid Fuel Engine}} {{LangFallback|LV-T45 Liquid Fuel Engine}} {{LangFallback|LV-T30 Liquid Fuel Engine}} {{LangFallback|RT-10 Solid Fuel Booster}}
+
| group2 = [[Demo parts{{if lang}}#Propulsion|{{Dict/part category|Propulsion}}]]
 +
| list2 = {{Navbox subgroup{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
 +
  | evenodd = swap
  
{{LangFallback|Stratus-V Roundified Monopropellant Tank}} {{LangFallback|FL-R25 RCS Fuel Tank}}
+
  | group1 = {{Dict/part category|Fuel tanks}}
 +
  | list1 =
 +
* {{LangFallback|FL-T100 Fuel Tank}}
 +
* {{LangFallback|FL-T200 Fuel Tank}}
 +
* {{LangFallback|FTX-2 External Fuel Duct}}
  
|-valign="top"
+
  | group2 = {{Dict/part category|Engines}}
| '''{{Lang|default=[[Demo parts{{if lang}}|Control]]|en=[[Demo parts#Control|Control]]|pl=[[Demo parts/pl|Kontrolujące]]|hr=[[Demo parts/hr|Upravljanje]]}}'''
+
  | list2 =
|| {{LangFallback|S.A.S Module}} {{LangFallback|Advanced S.A.S Module}} {{LangFallback|RV-105 RCS Thruster Block}}
+
* {{LangFallback|LV-T30 Liquid Fuel Engine}}
 +
* {{LangFallback|RT-10 Solid Fuel Booster}}
 +
* {{LangFallback|RT-5 "Flea" Solid Fuel Booster}}
  
|-valign="top"
+
  | group3 = {{Dict/part category|Monopropellant fuel tanks}}
| '''{{Lang|default=[[Demo parts{{if lang}}|Structural]]|en=[[Demo parts#Structural|Structural]]|pl=[[Demo parts/pl|Strukturalne]]|hr=[[Demo parts/hr|Konstrukcija]]}}'''
+
  | list3 =
|| {{LangFallback|EAS-4 Strut Connector}} {{LangFallback|TT18-A Launch Stability Enhancer}} • {{LangFallback|TVR-1180C Mk1 Stack Tri-Coupler}} • {{LangFallback|TT-38K Radial Decoupler}} • {{LangFallback|TR-18A Stack Decoupler}}
+
* {{LangFallback|Stratus-V Roundified Monopropellant Tank}}
 +
* {{LangFallback|FL-R25 RCS Fuel Tank}}
 +
}}
  
|-valign="top"
+
| group3 = [[Demo parts{{if lang}}#Control|{{Dict/part category|Control}}]]
| '''{{Lang|default=[[Demo parts{{if lang}}|Aerodynamic]]|en=[[Demo parts#Aerodynamic|Aerodynamic]]|hr=[[Demo parts/hr|Aerodinamika]]}}''' || {{LangFallback|AV-R8 Winglet}} {{LangFallback|AV-T1 Winglet}} {{LangFallback|Aerodynamic Nose Cone}}
+
| list3 =
 +
* {{LangFallback|S.A.S Module}}
 +
* {{LangFallback|Advanced S.A.S Module}}
 +
* {{LangFallback|RV-105 RCS Thruster Block}}
  
|-valign="top"
+
| group4 = [[Demo parts{{if lang}}#Structural|{{Dict/part category|Structural}}]]
| '''{{Lang|default=[[Demo parts{{if lang}}|Utility]]|en=[[Demo parts#Utility|Utility]]|pl=[[Demo parts/pl|Użytkowe]]|hr=[[Demo parts/hr|Uređaji]]}}'''
+
| list4 =
|| {{LangFallback|LT-1 Landing Strut}} {{LangFallback|Mk16 Parachute}} {{LangFallback|Pegasus I Mobility Enhancer}} {{LangFallback|Telus Mobility Enhancer}}
+
* {{LangFallback|EAS-4 Strut Connector}}
|}
+
* {{LangFallback|TT18-A Launch Stability Enhancer}}
{{FlipBox|end}}<includeonly>[[Category:Demo parts]]</includeonly><noinclude>
+
* {{LangFallback|TVR-1180C Mk1 Stack Tri-Coupler}}
== Usage ==
+
* {{LangFallback|TT-38K Radial Decoupler}}
Nav-bar for demo parts. Just enter
+
* {{LangFallback|TR-18A Stack Decoupler}}
<nowiki>{{Demo parts}}</nowiki>
 
at the bottom of the page. This will add the page to [[:Category:Demo parts]].
 
  
[[Category:Navbox templates]]
+
| group5 = [[Demo parts{{if lang}}#Aerodynamic|{{Dict/part category|Aerodynamic}}]]
[[Category:Categorising templates]]
+
| list5 =
 +
* {{LangFallback|AV-R8 Winglet}}
 +
* {{LangFallback|AV-T1 Winglet}}
 +
* {{LangFallback|Aerodynamic Nose Cone}}
 +
 
 +
| group6 = [[Demo parts{{if lang}}#Utility|{{Dict/part category|Utility}}]]
 +
| list6 =
 +
* {{LangFallback|LT-1 Landing Struts}}
 +
* {{LangFallback|Mk16 Parachute}}
 +
* {{LangFallback|Pegasus I Mobility Enhancer}}
 +
* {{LangFallback|Kelus Mobility Enhancer}}
 +
 
 +
}}<includeonly>{{Main other|[[Category:Demo parts{{if lang}}]]}}</includeonly><noinclude>
 +
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 21:21, 22 September 2024

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

Usage

Just add {{Demo parts}} at the bottom of the page for a part.

Purpose

The purpose of the {{Demo parts}} template is to provide a structure to ease navigation between the many parts available in the KSP demo. Feel free to restructure it to add further clarity.

Articles including the template will be added to Category:Demo parts.

Collapsible options

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. {{Demo parts |state=collapsed}}
|state=expanded to show the template in its expanded state, i.e. fully visible – e.g. {{Demo parts |state=expanded}}

Unless set otherwise (see the |state= parameter in the template's code), the template's default state is collapsed.

See also