Difference between revisions of "Template:Demo parts/sandbox"
From Kerbal Space Program Wiki
(Workaround for missing CSS.) |
(Remove temporary CSS workaround.) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}} | {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}} | ||
− | | name = Demo parts/sandbox | + | | name = Demo parts{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}} |
| title = [[Demo parts{{if lang}}|{{lang | | title = [[Demo parts{{if lang}}|{{lang | ||
|en=Demo parts | |en=Demo parts | ||
|ru=Детали в демонстрационной версии | |ru=Детали в демонстрационной версии | ||
− | }}]] | + | }}]] |
| groupwidth = {{Parts/groupwidth}} <!-- match {{Parts}} for consistency, and to enable stacking of related navboxes --> | | groupwidth = {{Parts/groupwidth}} <!-- match {{Parts}} for consistency, and to enable stacking of related navboxes --> | ||
| listclass = hlist | | listclass = hlist | ||
− | | state = {{{state| | + | | state = {{{state|{{{1|<includeonly>collapsed</includeonly>}}}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| above = | | above = | ||
Line 105: | Line 93: | ||
| below = | | below = | ||
− | }}<includeonly>{{ | + | }}<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? | Current version above, test/demo version with subgroups below. Does it look better with the subgroups? | ||
{{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}} | {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}} | ||
− | | name = Demo parts/sandbox | + | | name = Demo parts{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}} |
| title = [[Demo parts{{if lang}}|{{lang | | title = [[Demo parts{{if lang}}|{{lang | ||
|en=Demo parts | |en=Demo parts | ||
|ru=Детали в демонстрационной версии | |ru=Детали в демонстрационной версии | ||
− | }}]] | + | }}]] |
| groupwidth = {{Parts/groupwidth}} <!-- match {{Parts}} for consistency, and to enable stacking of related navboxes --> | | groupwidth = {{Parts/groupwidth}} <!-- match {{Parts}} for consistency, and to enable stacking of related navboxes --> | ||
| listclass = hlist | | listclass = hlist | ||
− | | state = {{{state| | + | | state = {{{state|{{{1|<includeonly>collapsed</includeonly>}}}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| above = | | above = | ||
Line 152: | Line 128: | ||
}} | }} | ||
| list2 = {{Navbox subgroup{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}} | | list2 = {{Navbox subgroup{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}} | ||
− | | | + | | evenodd = swap |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| group1 = Fuel | | group1 = Fuel | ||
| list1 = | | list1 = | ||
Line 180: | Line 148: | ||
* {{LangFallback|FL-R25 RCS Fuel Tank}} | * {{LangFallback|FL-R25 RCS Fuel Tank}} | ||
}} | }} | ||
+ | |||
| group3 = {{Lang | | group3 = {{Lang | ||
|default=[[Demo parts{{if lang}}|Control]] | |default=[[Demo parts{{if lang}}|Control]] | ||
Line 233: | Line 202: | ||
}} | }} | ||
{{documentation}} | {{documentation}} | ||
+ | <!-- Add categories to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 13:29, 11 June 2015
|
Current version above, test/demo version with subgroups below. Does it look better with the subgroups?
|
This is the template sandbox page for Template:Demo parts (diff). See also the companion subpage for test cases. |
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. |