Difference between revisions of "Template:Stock craft"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Remove erroneous style attribute which I left in by mistake (it wasn't being applied to anything, was just a left over from experimenting with options))
m (Move Araine 5 to base game and remove Hopper (no stock craft))
 
(23 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}}}}
{| class="hlist"
+
| 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"|  
+
| listclass = hlist
* {{if lang link|Ion-Powered Space Probe}}
+
| selected = {{{selected|{{{1|}}}}}} <!-- For {{Navbox with collapsible groups}}, ignored by {{Navbox}} -->
* {{if lang link|Kerbal 2}}
+
 
* {{if lang link|Kerbal X}}
+
| list1 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|10em}}}
* {{if lang link|Learstar A1}}
+
  | state = {{#ifeq:{{{selected|{{{1|}}}}}}|standard game|uncollapsed|{{{state1|collapsed}}}}}
* {{if lang link|Orbiter 1A}}
+
  | title = [[Stock craft{{if lang}}|{{Dict/stock craft|Default game}}]]
* {{if lang link|Rover + Skycrane}}
+
  | groupclass = wrap
* {{if lang link|Space Station Core}}
+
  | listclass = hlist
* {{if lang link|Super-Heavy Lander}}
+
 
* {{if lang link|Two-Stage Lander}}
+
  | group1 = {{if lang link|Rocket|{{Dict/stock craft|Rockets}}}}
* {{if lang link|Z-MAP Satellite Launch Kit}}
+
  | list1 =
|-
+
* {{LangFallback|AeroEquus|{{Dict/stock craft|AeroEquus}}}}
|-valign="top"
+
* {{LangFallback|Ariane 5|{{Dict/stock craft|Ariane 5}}}}
|bgcolor="#ccc"| '''{{if lang link|Plane|en=Planes|hu=Repülőgépek|ru=Самолёты}}'''
+
* {{LangFallback|ComSat Lx|{{Dict/stock craft|ComSat Lx}}}}
|bgcolor="#ffffff"|
+
* {{LangFallback|Dynawing|{{Dict/stock craft|Dynawing}}}}
* {{if lang link|Aeris 3A}}
+
* {{LangFallback|GDLV3|{{Dict/stock craft|GDLV3}}}}
* {{if lang link|Aeris 4A}}
+
* {{LangFallback|Ion-Powered Space Probe|{{Dict/stock craft|Ion-Powered Space Probe}}}}
* {{if lang link|Albatross 3}}
+
* {{LangFallback|Jumping Flea|{{Dict/stock craft|Jumping Flea}}}}
* {{if lang link|Ravenspear Mk1}}
+
* {{LangFallback|Kerbal 1|{{Dict/stock craft|Kerbal 1}}}}
* {{if lang link|Ravenspear Mk3}}
+
* {{LangFallback|Kerbal 1-5|{{Dict/stock craft|Kerbal 1-5}}}}
* {{if lang link|Ravenspear Mk4}}
+
* {{LangFallback|Kerbal 2|{{Dict/stock craft|Kerbal 2}}}}
* {{if lang link|Rocket-power VTOL}}
+
* {{LangFallback|Kerbal X|{{Dict/stock craft|Kerbal X}}}}
* {{if lang link|Stearwing A300}}
+
* {{LangFallback|Learstar A1|{{Dict/stock craft|Learstar A1}}}}
* {{if lang link|Stearwing D45}}
+
* {{LangFallback|Orbiter 1A|{{Dict/stock craft|Orbiter 1A}}}}
|}
+
* {{LangFallback|Orbiter One|{{Dict/stock craft|Orbiter One}}}}
{{FlipBox|end}}
+
* {{LangFallback|PT Series Munsplorer|{{Dict/stock craft|PT Series Munsplorer}}}}
<includeonly>[[Category:Stock craft{{if lang}}]]</includeonly>
+
* {{LangFallback|Rover + Skycrane|{{Dict/stock craft|Rover + Skycrane}}}}
<noinclude>
+
* {{LangFallback|Science Jr|{{Dict/stock craft|Science Jr}}}}
[[Category:Navbox templates]]
+
* {{LangFallback|Slim Shuttle|{{Dict/stock craft|Slim Shuttle}}}}
[[Category:Categorising templates]]</noinclude>
+
* {{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