Difference between revisions of "Template:DLC"
From Kerbal Space Program Wiki
m |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
|width=330 | |width=330 | ||
− | | | + | |name=<div style="font-size:150%; padding: 3px 0px; margin-bottom: 3px;">{{#ifexist: File:{{{title|}}}.png|[[File:{{{title|}}}.png|28px|link={{{title|}}}]]}} {{{title|DLC}}}</div> |
|file={{{file|none}}} | |file={{{file|none}}} | ||
---- | ---- | ||
Line 29: | Line 29: | ||
<pre> | <pre> | ||
{{DLC | {{DLC | ||
− | | | + | | name=Making History |
| file=MakingHistory_Banner.png | | file=MakingHistory_Banner.png | ||
| type=Expansion | | type=Expansion | ||
Line 40: | Line 40: | ||
{{DLC | {{DLC | ||
− | | | + | | name=Making History |
| file=MakingHistory_Banner.png | | file=MakingHistory_Banner.png | ||
| type=Expansion | | type=Expansion |
Revision as of 18:18, 18 March 2018
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 |
---|---|---|---|
title | Yes | The DLC title (an icon will be displayed). | Base page name |
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.X |
date | Yes | The date when the DLC was released as ISO date: YYYY-MM-DD. | 2018-03-13 |
ksp | No | Not set/Hidden | |
steam | Yes | 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:
{{DLC | name=Making History | file=MakingHistory_Banner.png | type=Expansion | version=1.4.1 | date=2018-03-13 | ksp=5175221000 | steam=283740 }}