Difference between revisions of "Template:Stock craft/sandbox"
From Kerbal Space Program Wiki
m (sync) |
(Remove temporary CSS workaround. Allow collapsed state via anonymous parameter.) |
||
(2 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 = Stock craft | + | | name = Stock craft{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}} |
− | + | | title = {{if lang link|Stock craft}} | |
| listclass = hlist | | listclass = hlist | ||
− | | state = {{{state|}}} | + | | state = {{{state|{{{1|}}}}}} |
− | + | | group1= {{if lang link|Rocket | |
− | + | |en=Rockets | |
− | + | |hu=Rakéták | |
− | + | |ru=Ракеты | |
− | + | }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | group1= {{if lang link|Rocket|en=Rockets|hu=Rakéták|ru=Ракеты}} | ||
| list1 = | | list1 = | ||
* {{if lang link|Ion-Powered Space Probe}} | * {{if lang link|Ion-Powered Space Probe}} | ||
Line 30: | Line 22: | ||
* {{if lang link|Z-MAP Satellite Launch Kit}} | * {{if lang link|Z-MAP Satellite Launch Kit}} | ||
− | | group2 = {{if lang link|Plane|en=Planes|hu=Repülőgépek|ru=Самолёты}} | + | | group2 = {{if lang link|Plane |
+ | |en=Planes | ||
+ | |hu=Repülőgépek | ||
+ | |ru=Самолёты | ||
+ | }} | ||
| list2 = | | list2 = | ||
* {{if lang link|Aeris 3A}} | * {{if lang link|Aeris 3A}} | ||
Line 41: | Line 37: | ||
* {{if lang link|Stearwing A300}} | * {{if lang link|Stearwing A300}} | ||
* {{if lang link|Stearwing D45}} | * {{if lang link|Stearwing D45}} | ||
+ | |||
}}<includeonly>{{Main other|[[Category:Stock craft{{if lang}}]]}}</includeonly><noinclude> | }}<includeonly>{{Main other|[[Category:Stock craft{{if lang}}]]}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories to the /doc subpage, not here! --> | <!-- Add categories to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 13:24, 11 June 2015
|
This is the template sandbox page for Template:Stock craft (diff). See also the companion subpage for test cases. |
Usage
Add {{Stock craft}}
at the bottom of an article that is related to a stock craft.
Purpose
The purpose of the {{Stock craft}} template is to provide a structure to ease navigation between the many stock craft available in KSP. Feel free to restructure it to add further clarity.
Articles including this template will be added to Category:Stock craft.
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.{{Stock craft |state=collapsed}}
|state=expanded
to show the template in its expanded state, i.e. fully visible – e.g.{{Stock craft |state=expanded}}
Unless set otherwise (see the |state=
parameter in the template's code), the template's default state is expanded
.
See also
|
The above documentation is transcluded from Template:Stock craft/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. |