Difference between revisions of "Template:Expansion/doc"

From Kerbal Space Program Wiki
Jump to: navigation, search
m
m (Add new expansion)
Line 44: Line 44:
 
|-
 
|-
 
| rowspan="1" | '''1, 2'''
 
| rowspan="1" | '''1, 2'''
| mh
+
| mh<br/>bg
| Making History must be installed
+
| Making History must be installed<br/>Breaking Ground must be installed
 
|-
 
|-
 
| rowspan="2" | '''small'''
 
| rowspan="2" | '''small'''
Line 70: Line 70:
 
To be displayed as:
 
To be displayed as:
 
{{Expansion|mh}}
 
{{Expansion|mh}}
 
 
'''NOTE: The notice box for several expansions is not useful yet, because there is only 1 expansion.'''
 
 
  
 
* For content that is available from several expansions use the following:
 
* For content that is available from several expansions use the following:
<code><nowiki>{{Expansion|mh|mh}}</nowiki></code>
+
<code><nowiki>{{Expansion|mh|bg}}</nowiki></code>
  
 
To be displayed as:
 
To be displayed as:
{{Expansion|mh|mh}}
+
{{Expansion|mh|bg}}

Revision as of 20:13, 6 May 2019

Expansion should be used to indicate which expansion of Kerbal Space Program must be enabled to use the described content.

Usage

This infobox may be added by copy-pasting the template as shown below at the beginning of a section.

{{Expansion|X}}

Substitute the value for X.

Parameters

Parameter Explanation Default Status
1 To specify which expansion must be enabled empty required
2 To specify a second expansion which can be enabled instead of the first empty optional
small as of {{Ambox}} left optional

Values

The above parameters can have the following values:

Parameter Values Explanation
1, 2 mh
bg
Making History must be installed
Breaking Ground must be installed
small left for sections (default)
not left for articles

Updating this template

You shouldn't have to.

Examples

  • For articles (top of the page) use the following:

{{Expansion|mh|small=no}}

To be displayed as:

  • For sections use the following:

{{Expansion|mh}}

To be displayed as:

  • For content that is available from several expansions use the following:

{{Expansion|mh|bg}}

To be displayed as: