Difference between revisions of "Template:Stock craft"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Cat change. We now have other types of box in addition to {{Navbox}})
(Switch over to new {{Navbox}} version.)
Line 1: Line 1:
{{FlipBox|start|style=padding: 2px; clear: both; margin: 10px 0; border: 1px solid #ccc; background-color: #FDFDFD;|style-header=background: #ccc; padding: .3em; text-align: center; font-size: 15px; font-weight: bold;|style-content=padding: .5em|title=[[Stock craft]]}}
+
{{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
{| class="hlist"
+
| name = Stock craft
|-valign="top"
+
| title = [[Stock craft]]{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
!bgcolor="#ccc"| {{if lang link|Rocket|en=Rockets|hu=Rakéták|ru=Ракеты}}
+
| listclass = hlist
|bgcolor="#efefef"|
+
| state = {{{state|}}}
 +
 
 +
| bodystyle      = {{Navbox style|body}}
 +
| innerstyle      = {{Navbox style|inner}}
 +
| titlestyle      = {{Navbox style|title}}
 +
| abovestyle      = {{Navbox style|above}}
 +
| belowstyle      = {{Navbox style|below}}
 +
| groupstyle      = {{Navbox style|group}}
 +
| liststyle      = {{Navbox style|list}}
 +
| evenstyle      = {{Navbox style|even}}
 +
| oddstyle        = {{Navbox style|odd}}
 +
| navbarstyle    = {{Navbox style|navbar}}
 +
| navbarfontstyle = {{Navbox style|navbarfont}}
 +
 
 +
| group1= {{if lang link|Rocket|en=Rockets|hu=Rakéták|ru=Ракеты}}
 +
| list1 =
 
* {{if lang link|Ion-Powered Space Probe}}
 
* {{if lang link|Ion-Powered Space Probe}}
 
* {{if lang link|Kerbal 2}}
 
* {{if lang link|Kerbal 2}}
Line 14: Line 29:
 
* {{if lang link|Two-Stage Lander}}
 
* {{if lang link|Two-Stage Lander}}
 
* {{if lang link|Z-MAP Satellite Launch Kit}}
 
* {{if lang link|Z-MAP Satellite Launch Kit}}
|-
+
 
|-valign="top"
+
| group2 = {{if lang link|Plane|en=Planes|hu=Repülőgépek|ru=Самолёты}}
!bgcolor="#ccc"| {{if lang link|Plane|en=Planes|hu=Repülőgépek|ru=Самолёты}}
+
| list2 =
|bgcolor="#ffffff"|
 
 
* {{if lang link|Aeris 3A}}
 
* {{if lang link|Aeris 3A}}
 
* {{if lang link|Aeris 4A}}
 
* {{if lang link|Aeris 4A}}
Line 27: Line 41:
 
* {{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>
{{FlipBox|end}}
+
{{Documentation}}
<includeonly>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Stock craft{{if lang}}]] | }}</includeonly>
+
<!-- Add categories to the /doc subpage, not here! -->
<noinclude>
+
</noinclude>
[[Category:Navigational boxes]]
 
[[Category:Categorising templates]]</noinclude>
 

Revision as of 22:59, 7 June 2015

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