Difference between revisions of "Template:Expansion/doc"
From Kerbal Space Program Wiki
m |
m (use correct naming) |
||
Line 72: | Line 72: | ||
* For content that is available from several DLCs use the following: | * For content that is available from several DLCs use the following: | ||
− | <code><nowiki>{{Expansion|mh| | + | <code><nowiki>{{Expansion|mh|hp}}</nowiki></code> |
To be displayed as: | To be displayed as: | ||
− | {{Expansion|mh| | + | {{Expansion|mh|hp}} |
Revision as of 02:04, 14 March 2018
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 | Making History 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:
Available only with the Making History Expansion installed. |
- For sections use the following:
{{Expansion|mh}}
To be displayed as:
Available only with the Making History Expansion installed. |
- For content that is available from several DLCs use the following:
{{Expansion|mh|hp}}
To be displayed as:
(unrecognized string "hp" for Template:Icon) | Available only with the Making History Expansion or the [[(unrecognized string "hp" for Template:Expansion)]] Expansion installed. |