Difference between revisions of "Template:Demo parts"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Style pedantry: Lose the float and width, as they conspire with margin and border to make the box wider than 100%, which looks ugly against the MW Vector skin's own boxes which are precisely 100%. Also convert to hlist for better line wraps.)
m (Unneeded param)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{FlipBox|start|style=clear: both; margin: 10px 0; border: 1px solid #ccc; background-color: #F6f6f6;|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}}}}
|ru=Детали в демонстрационной версии
+
| name = Demo parts{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
}}]]}}
+
| state = {{{state|}}}
{| class="hlist"
+
| title = [[Demo parts{{if lang}}|{{lang
|-valign="top"
+
  |en = Demo parts
| '''{{Lang|default=[[Demo parts{{if lang}}|Command Pods]]|en=[[Demo parts#Pods|Command Pods]]
+
  |fr = Pièces disponibles en demo
|pl=[[Demo parts/pl|Sterujące]]
+
  |ru = Детали в демонстрационной версии
|hr=[[Demo parts/hr|Kapsule]]
+
}}]]
|ru=[[Demo parts/ru#Командные отсеки|Командные отсеки]]
+
| listclass = hlist
}}'''
+
| groupwidth = {{Parts/groupwidth}} <!-- match {{Parts}} for consistency, and to enable stacking of related navboxes -->
|| {{LangFallback|Command Pod Mk1}}
 
  
|-valign="top"
+
| group1 = [[Demo parts{{if lang}}#Pods|{{Dict/part category|Command modules}}]]
| '''{{Lang|default=[[Demo parts{{if lang}}|Propulsion]]
+
| list1 =
|en=[[Demo parts#Propulsion|Propulsion]]
+
* {{LangFallback|Command Pod Mk1}}
|pl=[[Demo parts/pl|Napędy]]
+
* {{LangFallback|Stayputnik Mk. 1}}
|hr=[[Demo parts/hr|Pogon]]
+
 
|ru=[[Demo parts/ru#Двигатели|Двигатели]]
+
| group2 = [[Demo parts{{if lang}}#Propulsion|{{Dict/part category|Propulsion}}]]
}}'''
+
| list2 = {{Navbox subgroup{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
||
+
  | evenodd = swap
* {{LangFallback|FL-T400 Fuel Tank}}
+
 
* {{LangFallback|FL-T800 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}}
 
* {{LangFallback|FTX-2 External Fuel Duct}}
  
* {{LangFallback|LV-909 Liquid Fuel Engine}}
+
  | group2 = {{Dict/part category|Engines}}
* {{LangFallback|LV-T45 Liquid Fuel Engine}}
+
  | list2 =
 
* {{LangFallback|LV-T30 Liquid Fuel Engine}}
 
* {{LangFallback|LV-T30 Liquid Fuel Engine}}
 
* {{LangFallback|RT-10 Solid Fuel Booster}}
 
* {{LangFallback|RT-10 Solid Fuel Booster}}
 +
* {{LangFallback|RT-5 "Flea" Solid Fuel Booster}}
  
{{LangFallback|Stratus-V Roundified Monopropellant Tank}}
+
  | group3 = {{Dict/part category|Monopropellant fuel tanks}}
 +
  | list3 =
 +
* {{LangFallback|Stratus-V Roundified Monopropellant Tank}}
 
* {{LangFallback|FL-R25 RCS Fuel 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}}|Control]]
+
| list3 =
|en=[[Demo parts#Control|Control]]
 
|pl=[[Demo parts/pl|Kontrolujące]]
 
|hr=[[Demo parts/hr|Upravljanje]]
 
|ru=[[Demo parts/ru#Системы управления|Системы управления]]
 
}}'''
 
||
 
 
* {{LangFallback|S.A.S Module}}
 
* {{LangFallback|S.A.S Module}}
 
* {{LangFallback|Advanced S.A.S Module}}
 
* {{LangFallback|Advanced S.A.S Module}}
 
* {{LangFallback|RV-105 RCS Thruster Block}}
 
* {{LangFallback|RV-105 RCS Thruster Block}}
  
|-valign="top"
+
| group4 = [[Demo parts{{if lang}}#Structural|{{Dict/part category|Structural}}]]
| '''{{Lang|default=[[Demo parts{{if lang}}|Structural]]
+
| list4 =
|en=[[Demo parts#Structural|Structural]]
 
|pl=[[Demo parts/pl|Strukturalne]]
 
|hr=[[Demo parts/hr|Konstrukcija]]
 
|ru=[[Demo parts/ru#Конструкции|Конструкции]]
 
}}'''
 
||
 
 
* {{LangFallback|EAS-4 Strut Connector}}
 
* {{LangFallback|EAS-4 Strut Connector}}
 
* {{LangFallback|TT18-A Launch Stability Enhancer}}
 
* {{LangFallback|TT18-A Launch Stability Enhancer}}
Line 57: Line 51:
 
* {{LangFallback|TR-18A Stack Decoupler}}
 
* {{LangFallback|TR-18A Stack Decoupler}}
  
|-valign="top"
+
| group5 = [[Demo parts{{if lang}}#Aerodynamic|{{Dict/part category|Aerodynamic}}]]
| '''{{Lang|default=[[Demo parts{{if lang}}|Aerodynamic]]
+
| list5 =
|en=[[Demo parts#Aerodynamic|Aerodynamic]]
 
|hr=[[Demo parts/hr|Aerodinamika]]
 
|ru=[[Demo parts/ru#Аэродинамика|Аэродинамика]]
 
}}'''
 
||
 
 
* {{LangFallback|AV-R8 Winglet}}
 
* {{LangFallback|AV-R8 Winglet}}
 
* {{LangFallback|AV-T1 Winglet}}
 
* {{LangFallback|AV-T1 Winglet}}
 
* {{LangFallback|Aerodynamic Nose Cone}}
 
* {{LangFallback|Aerodynamic Nose Cone}}
  
|-valign="top"
+
| group6 = [[Demo parts{{if lang}}#Utility|{{Dict/part category|Utility}}]]
| '''{{Lang|default=[[Demo parts{{if lang}}|Utility]]
+
| list6 =
|en=[[Demo parts#Utility|Utility]]
 
|pl=[[Demo parts/pl|Użytkowe]]
 
|hr=[[Demo parts/hr|Uređaji]]
 
|ru=[[Demo parts/ru#Вспомогательные системы|Вспомогательные Системы]]
 
}}'''
 
||
 
 
* {{LangFallback|LT-1 Landing Struts}}
 
* {{LangFallback|LT-1 Landing Struts}}
 
* {{LangFallback|Mk16 Parachute}}
 
* {{LangFallback|Mk16 Parachute}}
 
* {{LangFallback|Pegasus I Mobility Enhancer}}
 
* {{LangFallback|Pegasus I Mobility Enhancer}}
* {{LangFallback|Telus Mobility Enhancer}}
+
* {{LangFallback|Kelus Mobility Enhancer}}
|}
 
{{FlipBox|end}}
 
<includeonly>[[Category:Demo parts{{if lang}}]]</includeonly><noinclude>
 
== Usage ==
 
Nav-bar for demo parts. Just enter
 
<nowiki>{{Demo parts}}</nowiki>
 
at the bottom of the page. This will add the page to [[:Category:Demo parts]].
 
  
[[Category:Navbox templates]]
+
}}<includeonly>{{Main other|[[Category:Demo parts{{if lang}}]]}}</includeonly><noinclude>
[[Category:Categorising templates]]
+
{{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