|
|
(One intermediate revision by the same user not shown) |
Line 1: |
Line 1: |
− | <includeonly>{{Infobox
| + | #REDIRECT [[Template:Infobox/DLC]] |
− | |width=330
| |
− | |name={{#if: {{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}
| |
− | |icon={{#if: {{{icon|}}}|{{{icon}}}|Image needed.svg}}
| |
− | |icon width=28
| |
− | |file={{{file|}}}
| |
− | ----}}
| |
− | '''Type'''<div style="float:right;">{{#if: {{{type|}}}|{{{type|}}}|Expansion}} </div>
| |
− | ----
| |
− | '''Release date {{#if: {{{version|}}}|/ Version}}'''<div style="float:right;">{{{date|YYYY-MM-DD}}} {{#if: {{{version|}}}|/ [[{{{version|}}}|{{{version|1.X}}}]]}}</div>
| |
− | ----
| |
− | '''Store'''<div style="float:right;">[https://kerbalspaceprogram.com/kspstore/index.php?p={{{ksp|example}}} KSP] / [http://store.steampowered.com/app/{{{steam|example}}}/ Steam]</div>
| |
− | |lines=
| |
− | }}</includeonly><noinclude>
| |
− | The template's main purpose is to provide store links while also linking to related information on the DLC in question.
| |
− | | |
− | == Parameters ==
| |
− | {{Parameter table|parameters=
| |
− | {{Parameter row|title|The DLC title (an icon will be displayed).|Base page name}}
| |
− | {{Parameter row|file|Icon of the DLC.|[[:File:Image needed.svg]]}}
| |
− | {{Parameter row|file|Banner of the DLC (usually from steam for size consistency).|[[:File:Image needed.svg]]}}
| |
− | {{Parameter row|type|Type of DLC. Currently only '''Expansion'''.|Expansion}}
| |
− | {{Parameter row|version|The KSP version the DLC released with or was build for.|Not set/Hidden}}
| |
− | {{Parameter row|date|The date when the DLC was released as ISO date: YYYY-MM-DD.|Not set/Hidden}}
| |
− | {{Parameter row|ksp|Link to KSP store. Copy everything past <code>https://kerbalspaceprogram.com/kspstore/index.php?p=</code>|Not set/Hidden}}
| |
− | {{Parameter row|steam|Link to Steam store. The ''appid'' will suffice.|Not set/Hidden}}
| |
− | }}
| |
− | | |
− | == Example ==
| |
− | The DLC infoxbox for the ''Making History'' expansion will be set up as follows:
| |
− | | |
− | <pre>
| |
− | {{DLC
| |
− | | name=Making History
| |
− | | icon=Expansion-MakingHistory.png
| |
− | | file=MakingHistory_Banner.png
| |
− | | type=Expansion
| |
− | | version=1.4.1
| |
− | | date=2018-03-13
| |
− | | ksp=5175221000
| |
− | | steam=283740
| |
− | }}
| |
− | </pre>
| |
− | | |
− | {{DLC
| |
− | | name=Making History
| |
− | | icon=Expansion-MakingHistory.png
| |
− | | file=MakingHistory_Banner.png
| |
− | | type=Expansion
| |
− | | version=1.4.1
| |
− | | date=2018-03-13
| |
− | | ksp=5175221000
| |
− | | steam=283740
| |
− | }}
| |
− | | |
− | [[Category:DLC]]
| |
− | [[Category:Infoboxes]]
| |
− | [[Category:Templates]]</noinclude>
| |