Difference between revisions of "Template:Demo parts"
From Kerbal Space Program Wiki
m (Cat change. We now have other type of box in addition to {{Navbox}}) |
(Switch over to new {{Navbox}} version.) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}} |
− | |ru=Детали в демонстрационной версии | + | | name = Demo parts{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}} |
− | }}]]}} | + | | title = [[Demo parts{{if lang}}|{{lang |
− | {| | + | |en=Demo parts |
− | | | + | |ru=Детали в демонстрационной версии |
− | + | }}]] | |
− | |pl=[[Demo parts/pl|Sterujące]] | + | | groupwidth = {{Parts/groupwidth}} <!-- match {{Parts}} for consistency, and to enable stacking of related navboxes --> |
− | |hr=[[Demo parts/hr|Kapsule]] | + | | listclass = hlist |
− | |ru=[[Demo parts/ru#Командные отсеки|Командные отсеки]] | + | | state = {{{state|{{{1|<includeonly>collapsed</includeonly>}}}}}} |
− | }} | + | |
− | | {{LangFallback|Command Pod Mk1}} | + | | bodystyle = {{Navbox style|body}} |
+ | | innerstyle = {{Navbox style|inner}} | ||
+ | | titlestyle = {{Navbox style|title}} | ||
+ | | abovestyle = {{Navbox style|above}} | ||
+ | | belowstyle = {{Navbox style|below}} | ||
+ | | groupstyle = {{Navbox style|group}} | ||
+ | | liststyle = {{Navbox style|list}} | ||
+ | | evenstyle = {{Navbox style|even}} | ||
+ | | oddstyle = {{Navbox style|odd}} | ||
+ | | navbarstyle = {{Navbox style|navbar}} | ||
+ | | navbarfontstyle = {{Navbox style|navbarfont}} | ||
+ | |||
+ | | above = | ||
+ | | image = | ||
+ | |||
+ | | group1 = {{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]] | ||
+ | |ru=[[Demo parts/ru#Командные отсеки|Командные отсеки]] | ||
+ | }} | ||
+ | | list1 = | ||
+ | * {{LangFallback|Command Pod Mk1}} | ||
− | | | + | | group2 = {{Lang |
− | + | |default=[[Demo parts{{if lang}}|Propulsion]] | |
− | |en=[[Demo parts#Propulsion|Propulsion]] | + | |en=[[Demo parts#Propulsion|Propulsion]] |
− | |pl=[[Demo parts/pl|Napędy]] | + | |pl=[[Demo parts/pl|Napędy]] |
− | |hr=[[Demo parts/hr|Pogon]] | + | |hr=[[Demo parts/hr|Pogon]] |
− | |ru=[[Demo parts/ru#Двигатели|Двигатели]] | + | |ru=[[Demo parts/ru#Двигатели|Двигатели]] |
− | }} | + | }} |
− | | | + | | list2 = |
* {{LangFallback|FL-T400 Fuel Tank}} | * {{LangFallback|FL-T400 Fuel Tank}} | ||
* {{LangFallback|FL-T800 Fuel Tank}} | * {{LangFallback|FL-T800 Fuel Tank}} | ||
Line 31: | Line 54: | ||
* {{LangFallback|FL-R25 RCS Fuel Tank}} | * {{LangFallback|FL-R25 RCS Fuel Tank}} | ||
− | | | + | | group3 = {{Lang |
− | + | |default=[[Demo parts{{if lang}}|Control]] | |
− | |en=[[Demo parts#Control|Control]] | + | |en=[[Demo parts#Control|Control]] |
− | |pl=[[Demo parts/pl|Kontrolujące]] | + | |pl=[[Demo parts/pl|Kontrolujące]] |
− | |hr=[[Demo parts/hr|Upravljanje]] | + | |hr=[[Demo parts/hr|Upravljanje]] |
− | |ru=[[Demo parts/ru#Системы управления|Системы управления]] | + | |ru=[[Demo parts/ru#Системы управления|Системы управления]] |
+ | }} | ||
+ | | list3 = | ||
+ | * {{LangFallback|S.A.S Module}} | ||
+ | * {{LangFallback|Advanced S.A.S Module}} | ||
+ | * {{LangFallback|RV-105 RCS Thruster Block}} | ||
+ | |||
+ | | group4 = {{Lang | ||
+ | |default=[[Demo parts{{if lang}}|Structural]] | ||
+ | |en=[[Demo parts#Structural|Structural]] | ||
+ | |pl=[[Demo parts/pl|Strukturalne]] | ||
+ | |hr=[[Demo parts/hr|Konstrukcija]] | ||
+ | |ru=[[Demo parts/ru#Конструкции|Конструкции]] | ||
+ | }} | ||
+ | | list4 = | ||
+ | * {{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}} | ||
+ | |||
+ | | group5 = {{Lang | ||
+ | |default=[[Demo parts{{if lang}}|Aerodynamic]] | ||
+ | |en=[[Demo parts#Aerodynamic|Aerodynamic]] | ||
+ | |hr=[[Demo parts/hr|Aerodinamika]] | ||
+ | |ru=[[Demo parts/ru#Аэродинамика|Аэродинамика]] | ||
+ | }} | ||
+ | | list5 = | ||
+ | * {{LangFallback|AV-R8 Winglet}} | ||
+ | * {{LangFallback|AV-T1 Winglet}} | ||
+ | * {{LangFallback|Aerodynamic Nose Cone}} | ||
+ | |||
+ | | group6 = {{Lang | ||
+ | |default=[[Demo parts{{if lang}}|Utility]] | ||
+ | |en=[[Demo parts#Utility|Utility]] | ||
+ | |pl=[[Demo parts/pl|Użytkowe]] | ||
+ | |hr=[[Demo parts/hr|Uređaji]] | ||
+ | |ru=[[Demo parts/ru#Вспомогательные системы|Вспомогательные Системы]] | ||
+ | }} | ||
+ | | list6 = | ||
+ | * {{LangFallback|LT-1 Landing Struts}} | ||
+ | * {{LangFallback|Mk16 Parachute}} | ||
+ | * {{LangFallback|Pegasus I Mobility Enhancer}} | ||
+ | * {{LangFallback|Telus Mobility Enhancer}} | ||
+ | |||
+ | | below = | ||
+ | }}<includeonly>{{Main other|[[Category:Demo parts{{if lang}}]]}}</includeonly><noinclude> | ||
+ | |||
+ | Current version above, test/demo version with subgroups below. Does it look better with the subgroups? | ||
+ | |||
+ | {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}} | ||
+ | | name = Demo parts{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}} | ||
+ | | title = [[Demo parts{{if lang}}|{{lang | ||
+ | |en=Demo parts | ||
+ | |ru=Детали в демонстрационной версии | ||
+ | }}]] | ||
+ | | groupwidth = {{Parts/groupwidth}} <!-- match {{Parts}} for consistency, and to enable stacking of related navboxes --> | ||
+ | | listclass = hlist | ||
+ | | state = {{{state|{{{1|<includeonly>collapsed</includeonly>}}}}}} | ||
+ | |||
+ | | bodystyle = {{Navbox style|body}} | ||
+ | | innerstyle = {{Navbox style|inner}} | ||
+ | | titlestyle = {{Navbox style|title}} | ||
+ | | abovestyle = {{Navbox style|above}} | ||
+ | | belowstyle = {{Navbox style|below}} | ||
+ | | groupstyle = {{Navbox style|group}} text-align: center; | ||
+ | | liststyle = {{Navbox style|list}} | ||
+ | | evenstyle = {{Navbox style|even}} | ||
+ | | oddstyle = {{Navbox style|odd}} | ||
+ | | navbarstyle = {{Navbox style|navbar}} | ||
+ | | navbarfontstyle = {{Navbox style|navbarfont}} | ||
+ | |||
+ | | above = | ||
+ | | image = | ||
+ | |||
+ | | group1 = {{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]] | ||
+ | |ru=[[Demo parts/ru#Командные отсеки|Командные отсеки]] | ||
+ | }} | ||
+ | | list1 = | ||
+ | * {{LangFallback|Command Pod Mk1}} | ||
+ | |||
+ | | group2 = {{Lang | ||
+ | |default=[[Demo parts{{if lang}}|Propulsion]] | ||
+ | |en=[[Demo parts#Propulsion|Propulsion]] | ||
+ | |pl=[[Demo parts/pl|Napędy]] | ||
+ | |hr=[[Demo parts/hr|Pogon]] | ||
+ | |ru=[[Demo parts/ru#Двигатели|Двигатели]] | ||
+ | }} | ||
+ | | list2 = {{Navbox subgroup{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}} | ||
+ | | bodystyle = {{Navbox style|child|body}} | ||
+ | | titlestyle = {{Navbox style|child|title}} | ||
+ | | abovestyle = {{Navbox style|child|above}} | ||
+ | | belowstyle = {{Navbox style|child|below}} | ||
+ | | groupstyle = {{Navbox style|child|group}} | ||
+ | | liststyle = {{Navbox style|child|list}} | ||
+ | | evenstyle = {{Navbox style|child|even}} | ||
+ | | oddstyle = {{Navbox style|child|odd}} | ||
+ | |||
+ | | evenodd = swap | ||
+ | | group1 = Fuel | ||
+ | | list1 = | ||
+ | * {{LangFallback|FL-T400 Fuel Tank}} | ||
+ | * {{LangFallback|FL-T800 Fuel Tank}} | ||
+ | * {{LangFallback|FTX-2 External Fuel Duct}} | ||
+ | |||
+ | | group2 = Engines | ||
+ | | list2 = | ||
+ | * {{LangFallback|LV-909 Liquid Fuel Engine}} | ||
+ | * {{LangFallback|LV-T45 Liquid Fuel Engine}} | ||
+ | * {{LangFallback|LV-T30 Liquid Fuel Engine}} | ||
+ | * {{LangFallback|RT-10 Solid Fuel Booster}} | ||
+ | |||
+ | | group3 = RCS | ||
+ | | list3 = | ||
+ | * {{LangFallback|Stratus-V Roundified Monopropellant Tank}} | ||
+ | * {{LangFallback|FL-R25 RCS Fuel Tank}} | ||
}} | }} | ||
− | | | + | | group3 = {{Lang |
+ | |default=[[Demo parts{{if lang}}|Control]] | ||
+ | |en=[[Demo parts#Control|Control]] | ||
+ | |pl=[[Demo parts/pl|Kontrolujące]] | ||
+ | |hr=[[Demo parts/hr|Upravljanje]] | ||
+ | |ru=[[Demo parts/ru#Системы управления|Системы управления]] | ||
+ | }} | ||
+ | | list3 = | ||
* {{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}} | ||
− | | | + | | group4 = {{Lang |
− | + | |default=[[Demo parts{{if lang}}|Structural]] | |
− | |en=[[Demo parts#Structural|Structural]] | + | |en=[[Demo parts#Structural|Structural]] |
− | |pl=[[Demo parts/pl|Strukturalne]] | + | |pl=[[Demo parts/pl|Strukturalne]] |
− | |hr=[[Demo parts/hr|Konstrukcija]] | + | |hr=[[Demo parts/hr|Konstrukcija]] |
− | |ru=[[Demo parts/ru#Конструкции|Конструкции]] | + | |ru=[[Demo parts/ru#Конструкции|Конструкции]] |
− | }} | + | }} |
− | | | + | | list4 = |
* {{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 206: | ||
* {{LangFallback|TR-18A Stack Decoupler}} | * {{LangFallback|TR-18A Stack Decoupler}} | ||
− | | | + | | group5 = {{Lang |
− | + | |default=[[Demo parts{{if lang}}|Aerodynamic]] | |
− | |en=[[Demo parts#Aerodynamic|Aerodynamic]] | + | |en=[[Demo parts#Aerodynamic|Aerodynamic]] |
− | |hr=[[Demo parts/hr|Aerodinamika]] | + | |hr=[[Demo parts/hr|Aerodinamika]] |
− | |ru=[[Demo parts/ru#Аэродинамика|Аэродинамика]] | + | |ru=[[Demo parts/ru#Аэродинамика|Аэродинамика]] |
− | }} | + | }} |
− | | | + | | list5 = |
* {{LangFallback|AV-R8 Winglet}} | * {{LangFallback|AV-R8 Winglet}} | ||
* {{LangFallback|AV-T1 Winglet}} | * {{LangFallback|AV-T1 Winglet}} | ||
* {{LangFallback|Aerodynamic Nose Cone}} | * {{LangFallback|Aerodynamic Nose Cone}} | ||
− | | | + | | group6 = {{Lang |
− | + | |default=[[Demo parts{{if lang}}|Utility]] | |
− | |en=[[Demo parts#Utility|Utility]] | + | |en=[[Demo parts#Utility|Utility]] |
− | |pl=[[Demo parts/pl|Użytkowe]] | + | |pl=[[Demo parts/pl|Użytkowe]] |
− | |hr=[[Demo parts/hr|Uređaji]] | + | |hr=[[Demo parts/hr|Uređaji]] |
− | |ru=[[Demo parts/ru#Вспомогательные системы|Вспомогательные Системы]] | + | |ru=[[Demo parts/ru#Вспомогательные системы|Вспомогательные Системы]] |
− | }} | + | }} |
− | | | + | | list6 = |
* {{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|Telus Mobility Enhancer}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | | below = | |
− | + | }} | |
+ | {{documentation}} | ||
+ | <!-- Add categories to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Revision as of 03:52, 8 June 2015
|
Current version above, test/demo version with subgroups below. Does it look better with the subgroups?
|
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
|
The above documentation is transcluded from Template:Demo 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. |