Difference between revisions of "Template:DLC"

From Cities: Skylines Wiki
Jump to navigation Jump to search
m (Changed "YY" to "YYYY". It's better that way, and well, they all seem to be entered that way anyway, even the existing example on this page.)
m
Line 11: Line 11:
 
'''Release date {{#if: {{{patch|}}}|/ Patch }}'''<div style="float:right;">{{{date|YYYY-MM-DD}}}  {{#if: {{{patch|}}}|/ [[Patch {{{patch|}}}|{{{patch|1.XX}}}]] }}</div>
 
'''Release date {{#if: {{{patch|}}}|/ Patch }}'''<div style="float:right;">{{{date|YYYY-MM-DD}}}  {{#if: {{{patch|}}}|/ [[Patch {{{patch|}}}|{{{patch|1.XX}}}]] }}</div>
 
----
 
----
'''Store: {{{type|}}}'''<div style="float:right;">[https://www.paradoxplaza.com/{{{pdx|example}}} Paradox] / [http://store.steampowered.com/app/{{{steam|example}}}/ Steam]</div>
+
'''Store: {{{type|}}}'''<div style="float:right;"> {{{storeb|{{Store|pdx}} / {{Store|steam}} }}} </div>
{{#if: {{{pdxc|}}}|
+
{{#if: {{{storec|}}}|
 
----
 
----
'''Store: Content Pack'''<div style="float:right;">[https://www.paradoxplaza.com/{{{pdxc|example}}} Paradox] / [http://store.steampowered.com/app/{{{steamc|example}}}/ Steam]</div> }}
+
'''Store: Content pack'''<div style="float:right;"> {{{storec|{{Store|pdx}} / {{Store|steam}} }}} </div> }}
{{#if: {{{pdxm|}}}|
+
{{#if: {{{storem|}}}|
 
----
 
----
'''Store: Music Pack'''<div style="float:right;">[https://www.paradoxplaza.com/{{{pdxm|example}}} Paradox] / [http://store.steampowered.com/app/{{{steamm|example}}}/ Steam]</div> }}
+
'''Store: Music pack'''<div style="float:right;"> {{{storem|{{Store|pdx}} / {{Store|steam}} }}} </div> }}
 
}}</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 useful "at-a-glance" info on the related product. Store links are to be provided ''via'' the {{template|Store}} template.
  
 
== Parameters ==
 
== Parameters ==
Line 45: Line 45:
 
| DLC type (includes link to section on [[DLC]] page). Can be either: {{MultiColumn|
 
| DLC type (includes link to section on [[DLC]] page). Can be either: {{MultiColumn|
 
* Expansion
 
* Expansion
* Immersion Pack
+
* Cosmetic pack
* Content Pack
+
* Music pack
* Music Pack
 
 
* E-book |2}}
 
* E-book |2}}
 
| '''required'''
 
| '''required'''
Line 61: Line 60:
 
| '''required'''
 
| '''required'''
 
|-
 
|-
| pdx
+
| storeb
 
|
 
|
* Link to Paradox Interactive store.
+
* Base product link to the Paradox Interactive / Steam store.
* Copy everything past <code>https://www.paradoxplaza.com/</code>
+
* To be used alongside the {{template|Store}} template.
 
| '''required'''
 
| '''required'''
 
|-
 
|-
| steam
+
| storec</br>storem
 
|
 
|
* Link to Steam store.
+
Additional store links for: {{MultiColumn|
* The ''appid'' will suffice.
+
* Content pack
| '''required'''
+
* Music pack |2}}
|-
 
 
 
| pdxc / steamc
 
|
 
* Accompanying content for expansions (content pack).
 
* Otherwise, use main parameters.
 
| '''optional'''
 
|-
 
| pdxm / steamm
 
|
 
* Accompanying content for expansions (music pack).
 
* Otherwise, use main parameters.
 
 
| '''optional'''
 
| '''optional'''
 
|}
 
|}
Line 98: Line 85:
 
| patch= 1.3
 
| patch= 1.3
 
| date= 2016-02-20
 
| date= 2016-02-20
| pdx= cities-skylines---snowfall/CSCS00ESK0000006.html
+
| storeb = {{Store|pdx|cities-skylines---snowfall/CSCS00ESK0000006.html}} / {{Store|steam|app/420610}}
| steam= 420610
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 110: Line 96:
 
| patch= 1.3
 
| patch= 1.3
 
| date= 2016-02-20
 
| date= 2016-02-20
| pdx= cities-skylines---snowfall/CSCS00ESK0000006.html
+
| storeb = {{Store|pdx|cities-skylines---snowfall/CSCS00ESK0000006.html}} / {{Store|steam|app/420610}}
| steam= 420610
 
 
}}
 
}}
  
 
[[Category:Infoboxes]]
 
[[Category:Infoboxes]]
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 18:09, 25 May 2019

The template's main purpose is to provide useful "at-a-glance" info on the related product. Store links are to be provided via the {{Store}} template.

Parameters

Parameter Notes Status
header
  • DLC title.
required
icon optional
logo
  • DLC banner/header (usually from Steam for size consistency).
  • DLC banners can be found in Category:DLC banners.
optional
type DLC type (includes link to section on DLC page). Can be either:
  • Expansion
  • Cosmetic pack
  • Music pack
  • E-book
required
patch
  • Add only for gameplay affecting DLCs.
  • Only major versions - good 1.x , bad 1.x.y
optional
date Release date in the format YYYY-MM-DD required
storeb
  • Base product link to the Paradox Interactive / Steam store.
  • To be used alongside the {{Store}} template.
required
storec
storem
Additional store links for:
  • Content pack
  • Music pack
optional

Example

The DLC infoxbox for the Snowfall expansion will be set up as follows:

{{DLC
| header= Snowfall
| icon= DLC icon snowfall.png
| logo= Snowfall banner.jpg
| type= Expansion
| patch= 1.3
| date= 2016-02-20
| storeb = {{Store|pdx|cities-skylines---snowfall/CSCS00ESK0000006.html}} / {{Store|steam|app/420610}}
}}
DLC icon snowfall.png Snowfall
Snowfall banner.jpg
Type
Release date / Patch
2016-02-20 / 1.3

Store: Expansion