Difference between revisions of "Template:Parts/sandbox"
m (Extra close braces removed.) |
m (groupwidth=10em; fix missing group; documentation hook) |
||
Line 1: | Line 1: | ||
− | |||
{{Navbox with collapsible groups | {{Navbox with collapsible groups | ||
| name = Parts/sandbox | | name = Parts/sandbox | ||
Line 24: | Line 23: | ||
|fr=Modules de Commande | |fr=Modules de Commande | ||
}}]] | }}]] | ||
− | | content1 = {{Navbox|child | + | | content1 = {{Navbox|child|groupwidth=10em |
| listclass = hlist | | listclass = hlist | ||
Line 91: | Line 90: | ||
|ru=двигатели | |ru=двигатели | ||
}}]] | }}]] | ||
− | | content2 = {{Navbox|child | + | | content2 = {{Navbox|child|groupwidth=10em |
| listclass = hlist | | listclass = hlist | ||
Line 210: | Line 209: | ||
|ru=Двигатели | |ru=Двигатели | ||
}}]] | }}]] | ||
− | | content3 = {{Navbox|child | + | | content3 = {{Navbox|child|groupwidth=10em |
| listclass = hlist | | listclass = hlist | ||
Line 304: | Line 303: | ||
|ru=Системы управления | |ru=Системы управления | ||
}}]] | }}]] | ||
− | | content4 = {{Navbox|child | + | | content4 = {{Navbox|child|groupwidth=10em |
| listclass = hlist | | listclass = hlist | ||
Line 352: | Line 351: | ||
|ru=Элементы конструкций | |ru=Элементы конструкций | ||
}}]] | }}]] | ||
− | | content5 = {{Navbox|child | + | | content5 = {{Navbox|child|groupwidth=10em |
| listclass = hlist | | listclass = hlist | ||
Line 450: | Line 449: | ||
|ru=Аэродинамика | |ru=Аэродинамика | ||
}}]] | }}]] | ||
− | | content6 = {{Navbox|child | + | | content6 = {{Navbox|child|groupwidth=10em |
| listclass = hlist | | listclass = hlist | ||
Line 570: | Line 569: | ||
|ru=Вспомогательные системы | |ru=Вспомогательные системы | ||
}}]] | }}]] | ||
− | | content7 = {{Navbox|child | + | | content7 = {{Navbox|child|groupwidth=10em |
| listclass = hlist | | listclass = hlist | ||
Line 703: | Line 702: | ||
* {{LangFallback|Service Bay (2.5m)}} | * {{LangFallback|Service Bay (2.5m)}} | ||
− | | | + | | group10 = {{lang |
|en=Ore processing | |en=Ore processing | ||
}} | }} | ||
− | | | + | | list10 = |
* {{LangFallback|'Drill-O-Matic' Mining Excavator}} | * {{LangFallback|'Drill-O-Matic' Mining Excavator}} | ||
* {{LangFallback|ISRU Converter}} | * {{LangFallback|ISRU Converter}} | ||
Line 725: | Line 724: | ||
|ru=Научные модули | |ru=Научные модули | ||
}}]] | }}]] | ||
− | | content8 = {{Navbox|child | + | | content8 = {{Navbox|child|groupwidth=10em |
| listclass = hlist | | listclass = hlist | ||
Line 766: | Line 765: | ||
}} | }} | ||
− | }}<includeonly>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Default parts{{if lang}}]] | }}</includeonly><noinclude> | + | }} |
− | + | <includeonly>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Default parts{{if lang}}]] | }}</includeonly><noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | {{documentation}} | |
− | + | </noinclude> |
Revision as of 00:17, 1 June 2015
This is the template sandbox page for Template:Parts (diff). See also the companion subpage for test cases. |
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/sandbox |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. |