Difference between revisions of "Template:Infobox/DLC"
From Kerbal Space Program Wiki
m (Small update) |
m (Fix ksp store link) |
||
Line 7: | Line 7: | ||
{{Infobox/Line|1='''Type'''|2={{#if: {{{type|}}}|{{{type|}}}|Expansion }} }} | {{Infobox/Line|1='''Type'''|2={{#if: {{{type|}}}|{{{type|}}}|Expansion }} }} | ||
{{Infobox/Line|1='''Release date {{#if: {{{version|}}}|/ Version}}'''|2={{{date|YYYY-MM-DD}}} {{#if: {{{version|}}}|/ [[ {{{version|1.XX}}} ]] }} }} | {{Infobox/Line|1='''Release date {{#if: {{{version|}}}|/ Version}}'''|2={{{date|YYYY-MM-DD}}} {{#if: {{{version|}}}|/ [[ {{{version|1.XX}}} ]] }} }} | ||
− | {{Infobox/Line|1='''Store'''|2=[https://kerbalspaceprogram.com/ | + | {{Infobox/Line|1='''Store'''|2=[https://www.kerbalspaceprogram.com/product/{{{ksp|Example}}}/ KSP] / [https://store.steampowered.com/app/{{{steam|Example}}} Steam] }} |
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
The template's main purpose is to provide store links while also linking to related information on the DLC in question. | The template's main purpose is to provide store links while also linking to related information on the DLC in question. | ||
Line 19: | Line 19: | ||
{{Parameter row|version|The KSP version the DLC released with or was build for.|1.XX}} | {{Parameter row|version|The KSP version the DLC released with or was build for.|1.XX}} | ||
{{Parameter row|date|The date when the DLC was released as ISO date: YYYY-MM-DD.}} | {{Parameter row|date|The date when the DLC was released as ISO date: YYYY-MM-DD.}} | ||
− | {{Parameter row|ksp|Link to KSP store. Copy everything past <pre>https://kerbalspaceprogram.com/ | + | {{Parameter row|ksp|Link to KSP store. Copy everything past <pre>https://www.kerbalspaceprogram.com/product/</pre>|Example}} |
{{Parameter row|steam|Link to Steam store. The ''appid'' will suffice.|Example}} | {{Parameter row|steam|Link to Steam store. The ''appid'' will suffice.|Example}} | ||
}} | }} | ||
Line 34: | Line 34: | ||
| version=1.4.1 | | version=1.4.1 | ||
| date=2018-03-13 | | date=2018-03-13 | ||
− | | ksp= | + | | ksp=kerbal-space-program-making-history |
| steam=283740 | | steam=283740 | ||
}} | }} | ||
Line 46: | Line 46: | ||
| version=1.4.1 | | version=1.4.1 | ||
| date=2018-03-13 | | date=2018-03-13 | ||
− | | ksp= | + | | ksp=kerbal-space-program-making-history |
| steam=283740 | | steam=283740 | ||
}} | }} |
Latest revision as of 09:30, 7 May 2019
The template's main purpose is to provide store links while also linking to related information on the DLC in question.
Parameters
# | Optional | Description | Default |
---|---|---|---|
name | Yes | The DLC name (an icon will be displayed). | Base page name |
icon | Yes | Icon of the DLC. | File:Image needed.svg |
file | Yes | Banner of the DLC (usually from steam for size consistency). | File:Image needed.svg |
type | Yes | Type of DLC. Currently only Expansion. | Expansion |
version | Yes | The KSP version the DLC released with or was build for. | 1.XX |
date | No | The date when the DLC was released as ISO date: YYYY-MM-DD. | |
ksp | Yes | Link to KSP store. Copy everything past https://www.kerbalspaceprogram.com/product/ |
Example |
steam | Yes | Link to Steam store. The appid will suffice. | Example |
Example
The DLC infoxbox for the Making History expansion will be set up as follows:
{{Infobox/DLC | name=Making History | icon=Expansion-MakingHistory.png | file=MakingHistory_Banner.png | type=Expansion | version=1.4.1 | date=2018-03-13 | ksp=kerbal-space-program-making-history | steam=283740 }}