Difference between revisions of "Template:Stock craft"
From Kerbal Space Program Wiki
(fixed bad translate entries) |
m (Move Araine 5 to base game and remove Hopper (no stock craft)) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
| state = {{{state|}}} | | state = {{{state|}}} | ||
| title = {{if lang link|Stock craft|{{Dict/stock craft|Stock craft}}}} | | title = {{if lang link|Stock craft|{{Dict/stock craft|Stock craft}}}} | ||
+ | | listclass = hlist | ||
| selected = {{{selected|{{{1|}}}}}} <!-- For {{Navbox with collapsible groups}}, ignored by {{Navbox}} --> | | selected = {{{selected|{{{1|}}}}}} <!-- For {{Navbox with collapsible groups}}, ignored by {{Navbox}} --> | ||
− | + | ||
| list1 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|10em}}} | | list1 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|10em}}} | ||
− | | state = {{#ifeq:{{{selected|{{{1|}}}}}}| | + | | state = {{#ifeq:{{{selected|{{{1|}}}}}}|standard game|uncollapsed|{{{state1|collapsed}}}}} |
− | | title = [[Stock craft{{if lang}}|{{Dict/stock craft|Default game}}]] | + | | title = [[Stock craft{{if lang}}|{{Dict/stock craft|Default game}}]] |
− | | groupclass = wrap | + | | groupclass = wrap |
− | | listclass = hlist | + | | listclass = hlist |
− | | group1= {{if lang link|Rocket|{{Dict/stock craft|Rockets}}}} | + | |
− | | list1 = | + | | group1 = {{if lang link|Rocket|{{Dict/stock craft|Rockets}}}} |
+ | | list1 = | ||
* {{LangFallback|AeroEquus|{{Dict/stock craft|AeroEquus}}}} | * {{LangFallback|AeroEquus|{{Dict/stock craft|AeroEquus}}}} | ||
+ | * {{LangFallback|Ariane 5|{{Dict/stock craft|Ariane 5}}}} | ||
* {{LangFallback|ComSat Lx|{{Dict/stock craft|ComSat Lx}}}} | * {{LangFallback|ComSat Lx|{{Dict/stock craft|ComSat Lx}}}} | ||
* {{LangFallback|Dynawing|{{Dict/stock craft|Dynawing}}}} | * {{LangFallback|Dynawing|{{Dict/stock craft|Dynawing}}}} | ||
* {{LangFallback|GDLV3|{{Dict/stock craft|GDLV3}}}} | * {{LangFallback|GDLV3|{{Dict/stock craft|GDLV3}}}} | ||
− | |||
* {{LangFallback|Ion-Powered Space Probe|{{Dict/stock craft|Ion-Powered Space Probe}}}} | * {{LangFallback|Ion-Powered Space Probe|{{Dict/stock craft|Ion-Powered Space Probe}}}} | ||
* {{LangFallback|Jumping Flea|{{Dict/stock craft|Jumping Flea}}}} | * {{LangFallback|Jumping Flea|{{Dict/stock craft|Jumping Flea}}}} | ||
Line 35: | Line 37: | ||
* {{LangFallback|Viewmatic Survey Satellite|{{Dict/stock craft|Viewmatic Survey Satellite}}}} | * {{LangFallback|Viewmatic Survey Satellite|{{Dict/stock craft|Viewmatic Survey Satellite}}}} | ||
* {{LangFallback|Z-MAP Satellite Launch Kit|{{Dict/stock craft|Z-MAP Satellite Launch Kit}}}} | * {{LangFallback|Z-MAP Satellite Launch Kit|{{Dict/stock craft|Z-MAP Satellite Launch Kit}}}} | ||
− | | group2 = {{if lang link|Plane|{{Dict/stock craft|Planes}}}} | + | |
− | | list2 = | + | | group2 = {{if lang link|Plane|{{Dict/stock craft|Planes}}}} |
+ | | list2 = | ||
* {{LangFallback|Aeris 3A|{{Dict/stock craft|Aeris 3A}}}} | * {{LangFallback|Aeris 3A|{{Dict/stock craft|Aeris 3A}}}} | ||
* {{LangFallback|Aeris 4A|{{Dict/stock craft|Aeris 4A}}}} | * {{LangFallback|Aeris 4A|{{Dict/stock craft|Aeris 4A}}}} | ||
Line 57: | Line 60: | ||
* {{LangFallback|Thunderbird|{{Dict/stock craft|Thunderbird}}}} | * {{LangFallback|Thunderbird|{{Dict/stock craft|Thunderbird}}}} | ||
* {{LangFallback|Velociteze|{{Dict/stock craft|Velociteze}}}} | * {{LangFallback|Velociteze|{{Dict/stock craft|Velociteze}}}} | ||
− | }} | + | }} |
+ | |||
| list2 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|10em}}} | | list2 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|10em}}} | ||
− | | state = {{#ifeq:{{{selected|{{{1|}}}}}}|making history|uncollapsed|{{{state2|collapsed}}}}} | + | | state = {{#ifeq:{{{selected|{{{1|}}}}}}|making history|uncollapsed|{{{state2|collapsed}}}}} |
− | | title = [[Stock craft{{if lang}}|Making History]] | + | | title = [[Stock craft{{if lang}}|Making History]] |
− | | groupclass = wrap | + | | groupclass = wrap |
− | | listclass = hlist | + | | listclass = hlist |
− | | group1 = {{if lang link|Rocket|{{Dict/stock craft|Rockets}}}} | + | |
− | | list1 = | + | | group1 = {{if lang link|Rocket|{{Dict/stock craft|Rockets}}}} |
+ | | list1 = | ||
* {{LangFallback|Acapello|{{Dict/stock craft|Acapello}}}} | * {{LangFallback|Acapello|{{Dict/stock craft|Acapello}}}} | ||
− | |||
* {{LangFallback|Beta Centaurus|{{Dict/stock craft|Beta Centaurus}}}} | * {{LangFallback|Beta Centaurus|{{Dict/stock craft|Beta Centaurus}}}} | ||
* {{LangFallback|Goliath II HLV|{{Dict/stock craft|Goliath II HLV}}}} | * {{LangFallback|Goliath II HLV|{{Dict/stock craft|Goliath II HLV}}}} | ||
Line 73: | Line 77: | ||
* {{LangFallback|SWM-94 Communications Satellite|{{Dict/stock craft|SWM-94 Communications Satellite}}}} | * {{LangFallback|SWM-94 Communications Satellite|{{Dict/stock craft|SWM-94 Communications Satellite}}}} | ||
* {{LangFallback|Valskhod 2|{{Dict/stock craft|Valskhod 2}}}} | * {{LangFallback|Valskhod 2|{{Dict/stock craft|Valskhod 2}}}} | ||
− | }} | + | }} |
+ | |||
| list3 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|10em}}} | | list3 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|10em}}} | ||
− | | state = {{#ifeq:{{{selected|{{{1|}}}}}}|breaking ground|uncollapsed|{{{ | + | | state = {{#ifeq:{{{selected|{{{1|}}}}}}|breaking ground|uncollapsed|{{{state3|collapsed}}}}} |
− | | title = [[Stock craft{{if lang}}|Breaking Ground]] | + | | title = [[Stock craft{{if lang}}|Breaking Ground]] |
− | | groupclass = wrap | + | | groupclass = wrap |
− | | listclass = hlist | + | | listclass = hlist |
− | | group1 = {{if lang link|Plane|{{Dict/stock craft|Planes}}}} | + | |
− | | list1 = | + | | group1 = {{if lang link|Plane|{{Dict/stock craft|Planes}}}} |
+ | | list1 = | ||
* {{LangFallback|Arrow-E|{{Dict/stock craft|Arrow-E}}}} | * {{LangFallback|Arrow-E|{{Dict/stock craft|Arrow-E}}}} | ||
* {{LangFallback|Butterfly Rover|{{Dict/stock craft|Butterfly Rover}}}} | * {{LangFallback|Butterfly Rover|{{Dict/stock craft|Butterfly Rover}}}} | ||
Line 87: | Line 93: | ||
* {{LangFallback|Seahawk|{{Dict/stock craft|Seahawk}}}} | * {{LangFallback|Seahawk|{{Dict/stock craft|Seahawk}}}} | ||
* {{LangFallback|Val-Thopter|{{Dict/stock craft|Val-Thopter}}}} | * {{LangFallback|Val-Thopter|{{Dict/stock craft|Val-Thopter}}}} | ||
− | }} | + | }} |
+ | |||
}}<includeonly>{{Main other|[[Category:Stock craft{{if lang}}]]}}</includeonly><noinclude> | }}<includeonly>{{Main other|[[Category:Stock craft{{if lang}}]]}}</includeonly><noinclude> | ||
− | {{ | + | {{Documentation}} |
− | |||
</noinclude> | </noinclude> |
Latest revision as of 19:46, 20 October 2024
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. |