Difference between revisions of "Template:Parts/sandbox"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Converted from {{Navbox with collapsible groups}} to {{Navbox}}, with workarounds for missing site CSS.)
m
 
(2 intermediate revisions by 2 users not shown)
Line 12: Line 12:
 
| image =  
 
| image =  
 
| selected = {{{selected|{{{1|}}}}}} <!-- For {{Navbox with collapsible groups}}, ignored by {{Navbox}} -->
 
| selected = {{{selected|{{{1|}}}}}} <!-- For {{Navbox with collapsible groups}}, ignored by {{Navbox}} -->
 
| bodystyle      = {{Navbox style|body}}
 
| innerstyle      = {{Navbox style|inner}}
 
| titlestyle      = {{Navbox style|title}}
 
| abovestyle      = {{Navbox style|above}}
 
| belowstyle      = {{Navbox style|below}}
 
| groupstyle      = {{Navbox style|group}} text-align: center;
 
| liststyle      = {{Navbox style|list}}
 
| evenstyle      = {{Navbox style|even}}
 
| oddstyle        = {{Navbox style|odd}}
 
| navbarstyle    = {{Navbox style|navbar}}
 
| navbarfontstyle = {{Navbox style|navbarfont}}
 
  
 
| list1 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
 
| list1 = {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child|groupwidth={{{groupwidth|{{Parts/groupwidth}}}}}
Line 37: Line 25:
 
  | groupclass = wrap
 
  | groupclass = wrap
 
  | listclass = hlist
 
  | listclass = hlist
 
| bodystyle      = {{Navbox style|child|body}}
 
| titlestyle      = {{Navbox style|child|title}}
 
| abovestyle      = {{Navbox style|child|above}}
 
| belowstyle      = {{Navbox style|child|below}}
 
| groupstyle      = {{Navbox style|child|group}} white-space: normal;
 
| liststyle      = {{Navbox style|child|list}}
 
| evenstyle      = {{Navbox style|child|even}}
 
| oddstyle        = {{Navbox style|child|odd}}
 
  
 
  | group1 = {{lang
 
  | group1 = {{lang
Line 114: Line 93:
 
  | groupclass = wrap
 
  | groupclass = wrap
 
  | listclass = hlist
 
  | listclass = hlist
 
| bodystyle      = {{Navbox style|child|body}}
 
| titlestyle      = {{Navbox style|child|title}}
 
| abovestyle      = {{Navbox style|child|above}}
 
| belowstyle      = {{Navbox style|child|below}}
 
| groupstyle      = {{Navbox style|child|group}} white-space: normal;
 
| liststyle      = {{Navbox style|child|list}}
 
| evenstyle      = {{Navbox style|child|even}}
 
| oddstyle        = {{Navbox style|child|odd}}
 
  
 
  | group1 = [[Liquid fuel tank{{if lang}}|{{lang
 
  | group1 = [[Liquid fuel tank{{if lang}}|{{lang
Line 243: Line 213:
 
  | groupclass = wrap
 
  | groupclass = wrap
 
  | listclass = hlist
 
  | listclass = hlist
 
| bodystyle      = {{Navbox style|child|body}}
 
| titlestyle      = {{Navbox style|child|title}}
 
| abovestyle      = {{Navbox style|child|above}}
 
| belowstyle      = {{Navbox style|child|below}}
 
| groupstyle      = {{Navbox style|child|group}} white-space: normal;
 
| liststyle      = {{Navbox style|child|list}}
 
| evenstyle      = {{Navbox style|child|even}}
 
| oddstyle        = {{Navbox style|child|odd}}
 
  
 
  | group1 = [[Jet engine{{if lang}}|{{lang
 
  | group1 = [[Jet engine{{if lang}}|{{lang
Line 347: Line 308:
 
  | groupclass = wrap
 
  | groupclass = wrap
 
  | listclass = hlist
 
  | listclass = hlist
 
| bodystyle      = {{Navbox style|child|body}}
 
| titlestyle      = {{Navbox style|child|title}}
 
| abovestyle      = {{Navbox style|child|above}}
 
| belowstyle      = {{Navbox style|child|below}}
 
| groupstyle      = {{Navbox style|child|group}} white-space: normal;
 
| liststyle      = {{Navbox style|child|list}}
 
| evenstyle      = {{Navbox style|child|even}}
 
| oddstyle        = {{Navbox style|child|odd}}
 
  
 
  | group1 = {{lang
 
  | group1 = {{lang
Line 405: Line 357:
 
  | groupclass = wrap
 
  | groupclass = wrap
 
  | listclass = hlist
 
  | listclass = hlist
 
| bodystyle      = {{Navbox style|child|body}}
 
| titlestyle      = {{Navbox style|child|title}}
 
| abovestyle      = {{Navbox style|child|above}}
 
| belowstyle      = {{Navbox style|child|below}}
 
| groupstyle      = {{Navbox style|child|group}} white-space: normal;
 
| liststyle      = {{Navbox style|child|list}}
 
| evenstyle      = {{Navbox style|child|even}}
 
| oddstyle        = {{Navbox style|child|odd}}
 
  
 
  | group1 = {{lang
 
  | group1 = {{lang
Line 513: Line 456:
 
  | groupclass = wrap
 
  | groupclass = wrap
 
  | listclass = hlist
 
  | listclass = hlist
 
| bodystyle      = {{Navbox style|child|body}}
 
| titlestyle      = {{Navbox style|child|title}}
 
| abovestyle      = {{Navbox style|child|above}}
 
| belowstyle      = {{Navbox style|child|below}}
 
| groupstyle      = {{Navbox style|child|group}} white-space: normal;
 
| liststyle      = {{Navbox style|child|list}}
 
| evenstyle      = {{Navbox style|child|even}}
 
| oddstyle        = {{Navbox style|child|odd}}
 
  
 
  | group1 = [[Control surface{{if lang}}|{{lang
 
  | group1 = [[Control surface{{if lang}}|{{lang
Line 544: Line 478:
 
* {{LangFallback|Big-S Elevon 2}}
 
* {{LangFallback|Big-S Elevon 2}}
 
* {{LangFallback|Mk3 Elevon}}
 
* {{LangFallback|Mk3 Elevon}}
* {{LangFallback|FAT-445 Aeroplane Control Surface}}
+
* {{LangFallback|FAT-455 Aeroplane Control Surface}}
 
* {{LangFallback|FAT-455 Aeroplane Tail Fin}}
 
* {{LangFallback|FAT-455 Aeroplane Tail Fin}}
 
* {{LangFallback|A.I.R.B.R.A.K.E.S}}
 
* {{LangFallback|A.I.R.B.R.A.K.E.S}}
Line 643: Line 577:
 
  | groupclass = wrap
 
  | groupclass = wrap
 
  | listclass = hlist
 
  | listclass = hlist
 
| bodystyle      = {{Navbox style|child|body}}
 
| titlestyle      = {{Navbox style|child|title}}
 
| abovestyle      = {{Navbox style|child|above}}
 
| belowstyle      = {{Navbox style|child|below}}
 
| groupstyle      = {{Navbox style|child|group}} white-space: normal;
 
| liststyle      = {{Navbox style|child|list}}
 
| evenstyle      = {{Navbox style|child|even}}
 
| oddstyle        = {{Navbox style|child|odd}}
 
  
 
  | group1 = {{lang
 
  | group1 = {{lang
Line 788: Line 713:
 
  | list10 =  
 
  | list10 =  
 
* {{LangFallback|'Drill-O-Matic' Mining Excavator}}
 
* {{LangFallback|'Drill-O-Matic' Mining Excavator}}
* {{LangFallback|ISRU Converter}}
+
* {{LangFallback|Convert-O-Tron 250}}
  
 
}}
 
}}
Line 808: Line 733:
 
  | groupclass = wrap
 
  | groupclass = wrap
 
  | listclass = hlist
 
  | listclass = hlist
 
| bodystyle      = {{Navbox style|child|body}}
 
| titlestyle      = {{Navbox style|child|title}}
 
| abovestyle      = {{Navbox style|child|above}}
 
| belowstyle      = {{Navbox style|child|below}}
 
| groupstyle      = {{Navbox style|child|group}} white-space: normal;
 
| liststyle      = {{Navbox style|child|list}}
 
| evenstyle      = {{Navbox style|child|even}}
 
| oddstyle        = {{Navbox style|child|odd}}
 
  
 
  | group1 = {{lang
 
  | group1 = {{lang

Latest revision as of 16:41, 14 March 2020

Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:Parts/sandbox

Usage

Add {{Parts}} at the bottom of an article that is related to a part of the stock game.

Purpose

The purpose of the {{Parts}} template is to provide a structure to ease navigation between the many default parts available in KSP. Feel free to restructure it to add further clarity.

NOTE: For proper hyperlinks to the headings of the work, it is necessary that on Parts pages the headings are enclosed in <span id="category_name"> tags with unambiguous untranslatable category names: Aerodynamic, Cargo, Command and control, Communication, Coupling, Electrical, Engines, Fuel tanks, Ground, Jet fuselages, Liquid fuel tanks, Monopropellant fuel tanks, Payload, Pods, Science, Structural, Thermal, Utility.

Articles including the template will be added to Category:Default parts.

Collapsible options

How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following names identifying the groups/sections (omit any speech or quote marks):
    • command modules
    • fuel tanks
    • engines
    • command and control
    • structural
    • coupling
    • payload
    • aerodynamic
    • ground
    • thermal
    • electrical
    • communication
    • science
    • cargo
    • utility
    • legacy parts
  • For example: {{Parts/sandbox |command modules}}

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. {{Parts |state=collapsed}}
|state=expanded to show the template in its expanded state, i.e. fully visible – e.g. {{Parts |state=expanded}}

Unless set otherwise (see the |state= parameter in the template's code), the template's default state is expanded.

Translation

The dictionary entries for this template are included in a separate template {{Dict/part category}}.

See also