Difference between revisions of "Template:Stock craft"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+header, +collapsible, +cat (copied format of {{Parts}}))
m (Move Araine 5 to base game and remove Hopper (no stock craft))
 
(25 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{FlipBox|start|style=padding: 2px; clear: both; margin: 10px 0; border: 1px solid #ccc; background-color: #FDFDFD; float: left; width:100%|style-header=background: #ccc; padding: .3em; text-align: center; font-size: 15px|style-content=padding: .5em|title=[[Stock craft]]}}
+
{{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
{|
+
| name = Stock craft{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
|-valign="top"
+
| state = {{{state|}}}
|bgcolor="#ccc"| '''{{if lang link|Rocket|en=Rockets|hu=Rakéták|ru=Ракеты}}'''
+
| title = {{if lang link|Stock craft|{{Dict/stock craft|Stock craft}}}}
|bgcolor="#efefef"| {{if lang link|Ion-Powered Space Probe}} {{if lang link|Kerbal 2}} {{if lang link|Kerbal X}} {{if lang link|Learstar A1}} {{if lang link|Orbiter 1A}} {{if lang link|Rover + Skycrane}} {{if lang link|Space Station Core}} {{if lang link|Super-Heavy Lander}} {{if lang link|Two-Stage Lander}} {{if lang link|Z-MAP Satellite Launch Kit}}
+
| listclass = hlist
|-
+
| selected = {{{selected|{{{1|}}}}}} <!-- For {{Navbox with collapsible groups}}, ignored by {{Navbox}} -->
|-valign="top"
+
 
|bgcolor="#ccc"| '''{{if lang link|Plane|en=Planes|hu=Repülőgépek|ru=Самолёты}}'''
+
| list1 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|10em}}}
|bgcolor="#ffffff"| {{if lang link|Aeris 3A}} {{if lang link|Aeris 4A}} {{if lang link|Albatross 3}} {{if lang link|Ravenspear Mk1}} {{if lang link|Ravenspear Mk3}} {{if lang link|Ravenspear Mk4}} {{if lang link|Rocket-power VTOL}} {{if lang link|Stearwing A300}} {{if lang link|Stearwing D45}}
+
  | state = {{#ifeq:{{{selected|{{{1|}}}}}}|standard game|uncollapsed|{{{state1|collapsed}}}}}
|}
+
  | title = [[Stock craft{{if lang}}|{{Dict/stock craft|Default game}}]]
{{FlipBox|end}}
+
  | groupclass = wrap
<includeonly>[[Category:Stock craft{{if lang}}]]</includeonly>
+
  | listclass = hlist
<noinclude>
+
 
[[Category:Navbox templates]]
+
  | group1 = {{if lang link|Rocket|{{Dict/stock craft|Rockets}}}}
[[Category:Categorising templates]]</noinclude>
+
  | list1 =
 +
* {{LangFallback|AeroEquus|{{Dict/stock craft|AeroEquus}}}}
 +
* {{LangFallback|Ariane 5|{{Dict/stock craft|Ariane 5}}}}
 +
* {{LangFallback|ComSat Lx|{{Dict/stock craft|ComSat Lx}}}}
 +
* {{LangFallback|Dynawing|{{Dict/stock craft|Dynawing}}}}
 +
* {{LangFallback|GDLV3|{{Dict/stock craft|GDLV3}}}}
 +
* {{LangFallback|Ion-Powered Space Probe|{{Dict/stock craft|Ion-Powered Space Probe}}}}
 +
* {{LangFallback|Jumping Flea|{{Dict/stock craft|Jumping Flea}}}}
 +
* {{LangFallback|Kerbal 1|{{Dict/stock craft|Kerbal 1}}}}
 +
* {{LangFallback|Kerbal 1-5|{{Dict/stock craft|Kerbal 1-5}}}}
 +
* {{LangFallback|Kerbal 2|{{Dict/stock craft|Kerbal 2}}}}
 +
* {{LangFallback|Kerbal X|{{Dict/stock craft|Kerbal X}}}}
 +
* {{LangFallback|Learstar A1|{{Dict/stock craft|Learstar A1}}}}
 +
* {{LangFallback|Orbiter 1A|{{Dict/stock craft|Orbiter 1A}}}}
 +
* {{LangFallback|Orbiter One|{{Dict/stock craft|Orbiter One}}}}
 +
* {{LangFallback|PT Series Munsplorer|{{Dict/stock craft|PT Series Munsplorer}}}}
 +
* {{LangFallback|Rover + Skycrane|{{Dict/stock craft|Rover + Skycrane}}}}
 +
* {{LangFallback|Science Jr|{{Dict/stock craft|Science Jr}}}}
 +
* {{LangFallback|Slim Shuttle|{{Dict/stock craft|Slim Shuttle}}}}
 +
* {{LangFallback|Space Station Core|{{Dict/stock craft|Space Station Core}}}}
 +
* {{LangFallback|Super-Heavy Lander|{{Dict/stock craft|Super-Heavy Lander}}}}
 +
* {{LangFallback|Two-Stage Lander|{{Dict/stock craft|Two-Stage Lander}}}}
 +
* {{LangFallback|Viewmatic Survey Satellite|{{Dict/stock craft|Viewmatic Survey Satellite}}}}
 +
* {{LangFallback|Z-MAP Satellite Launch Kit|{{Dict/stock craft|Z-MAP Satellite Launch Kit}}}}
 +
 
 +
  | group2 = {{if lang link|Plane|{{Dict/stock craft|Planes}}}}
 +
  | list2 =
 +
* {{LangFallback|Aeris 3A|{{Dict/stock craft|Aeris 3A}}}}
 +
* {{LangFallback|Aeris 4A|{{Dict/stock craft|Aeris 4A}}}}
 +
* {{LangFallback|Albatross 3|{{Dict/stock craft|Albatross 3}}}}
 +
* {{LangFallback|Bug-E Buggy|{{Dict/stock craft|Bug-E Buggy}}}}
 +
* {{LangFallback|Crater Crawler|{{Dict/stock craft|Crater Crawler}}}}
 +
* {{LangFallback|Dove|{{Dict/stock craft|Dove}}}}
 +
* {{LangFallback|Gull|{{Dict/stock craft|Gull}}}}
 +
* {{LangFallback|Mallard|{{Dict/stock craft|Mallard}}}}
 +
* {{LangFallback|Osprey|{{Dict/stock craft|Osprey}}}}
 +
* {{LangFallback|Prospector Rover|{{Dict/stock craft|Prospector Rover}}}}
 +
* {{LangFallback|Ravenspear Mk1|{{Dict/stock craft|Ravenspear Mk1}}}}
 +
* {{LangFallback|Ravenspear Mk3|{{Dict/stock craft|Ravenspear Mk3}}}}
 +
* {{LangFallback|Ravenspear Mk4|{{Dict/stock craft|Ravenspear Mk4}}}}
 +
* {{LangFallback|Rocket-power VTOL|{{Dict/stock craft|Rocket-power VTOL}}}}
 +
* {{LangFallback|Satellite Launcher|{{Dict/stock craft|Satellite Launcher}}}}
 +
* {{LangFallback|Skywinder AE1|{{Dict/stock craft|Skywinder AE1}}}}
 +
* {{LangFallback|Stearwing A300|{{Dict/stock craft|Stearwing A300}}}}
 +
* {{LangFallback|Stratolauncher|{{Dict/stock craft|Stratolauncher}}}}
 +
* {{LangFallback|Thunderbird|{{Dict/stock craft|Thunderbird}}}}
 +
* {{LangFallback|Velociteze|{{Dict/stock craft|Velociteze}}}}
 +
}}
 +
 
 +
| list2 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|10em}}}
 +
  | state = {{#ifeq:{{{selected|{{{1|}}}}}}|making history|uncollapsed|{{{state2|collapsed}}}}}
 +
  | title = [[Stock craft{{if lang}}|Making History]]
 +
  | groupclass = wrap
 +
  | listclass = hlist
 +
 
 +
  | group1 = {{if lang link|Rocket|{{Dict/stock craft|Rockets}}}}
 +
  | list1 =
 +
* {{LangFallback|Acapello|{{Dict/stock craft|Acapello}}}}
 +
* {{LangFallback|Beta Centaurus|{{Dict/stock craft|Beta Centaurus}}}}
 +
* {{LangFallback|Goliath II HLV|{{Dict/stock craft|Goliath II HLV}}}}
 +
* {{LangFallback|Muna 1|{{Dict/stock craft|Muna 1}}}}
 +
* {{LangFallback|Sally-Hut 1|{{Dict/stock craft|Sally-Hut 1}}}}
 +
* {{LangFallback|SWM-94 Communications Satellite|{{Dict/stock craft|SWM-94 Communications Satellite}}}}
 +
* {{LangFallback|Valskhod 2|{{Dict/stock craft|Valskhod 2}}}}
 +
}}
 +
 
 +
| list3 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|10em}}}
 +
  | state = {{#ifeq:{{{selected|{{{1|}}}}}}|breaking ground|uncollapsed|{{{state3|collapsed}}}}}
 +
  | title = [[Stock craft{{if lang}}|Breaking Ground]]
 +
  | groupclass = wrap
 +
  | listclass = hlist
 +
 
 +
  | group1 = {{if lang link|Plane|{{Dict/stock craft|Planes}}}}
 +
  | list1 =
 +
* {{LangFallback|Arrow-E|{{Dict/stock craft|Arrow-E}}}}
 +
* {{LangFallback|Butterfly Rover|{{Dict/stock craft|Butterfly Rover}}}}
 +
* {{LangFallback|Jeb's Quadtaxi|{{Dict/stock craft|Jeb's Quadtaxi}}}}
 +
* {{LangFallback|Kerbodyne Rotodyne|{{Dict/stock craft|Kerbodyne Rotodyne}}}}
 +
* {{LangFallback|Seahawk|{{Dict/stock craft|Seahawk}}}}
 +
* {{LangFallback|Val-Thopter|{{Dict/stock craft|Val-Thopter}}}}
 +
}}
 +
 
 +
}}<includeonly>{{Main other|[[Category:Stock craft{{if lang}}]]}}</includeonly><noinclude>
 +
{{Documentation}}
 +
</noinclude>

Latest revision as of 19:46, 20 October 2024

Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:Stock craft

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