Difference between revisions of "Template:Demo parts"

From Kerbal Space Program Wiki
Jump to: navigation, search
(* updated and improved, now looks like Template:Parts, grouped more tightly though.)
m (Unneeded param)
 
(19 intermediate revisions by 7 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]]}}'''
+
| 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]]}}'''
+
| 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]]}}'''
+
  | 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]]}}'''
+
  | 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]]}}''' || {{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]]}}'''
+
| 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}}
+
* {{LangFallback|TVR-1180C Mk1 Stack Tri-Coupler}}
<includeonly>[[Category:Demo Parts]]</includeonly>
+
* {{LangFallback|TT-38K Radial Decoupler}}
 +
* {{LangFallback|TR-18A Stack Decoupler}}
  
<noinclude>
+
| group5 = [[Demo parts{{if lang}}#Aerodynamic|{{Dict/part category|Aerodynamic}}]]
== Usage ==
+
| list5 =
Nav-bar for demo parts. Just enter
+
* {{LangFallback|AV-R8 Winglet}}
<nowiki>{{Demo Parts}}</nowiki>
+
* {{LangFallback|AV-T1 Winglet}}
at the bottom of the page.
+
* {{LangFallback|Aerodynamic Nose Cone}}
  
[[Category:Templates|Parts]]
+
| 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