Difference between revisions of "Template:Stock craft"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Make navboxes uniform)
m (Fix states)
Line 7: Line 7:
  
 
| 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|}}}}}}|Standart game|uncollapsed|{{{state1|collapsed}}}}}
+
   | 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
Line 81: Line 81:
  
 
| 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|{{{state2|collapsed}}}}}
+
   | 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

Revision as of 21:21, 22 September 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