Difference between revisions of "Template:DLC"

From Stellaris Wiki
Jump to navigation Jump to search
m
m
 
(5 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
{{#if: {{{logo|}}} | [[File:{{{logo}}}|315px]]
 
{{#if: {{{logo|}}} | [[File:{{{logo}}}|315px]]
 
----}}
 
----}}
'''Type'''<div style="float:right;">[[Downloadable content#{{{type|}}}s| {{{type|What type of DLC is it?}}} ]]</div>
+
'''Type'''<div style="float:right;">[[Downloadable content#{{{header|}}}| {{{type|What type of DLC is it?}}} ]]</div>
 
----
 
----
'''Release date {{#if: {{{patch|}}}|/ Patch }}'''<div style="float:right;">{{{date|YY-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>
 +
{{#if: {{{storeb|}}}|
 
----
 
----
'''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 40: Line 41:
 
| 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
* Story Pack
+
* Story pack
* Species Pack
+
* Species pack
* Music Pack
+
* Music pack
 
* E-book |2}}
 
* E-book |2}}
 
| '''required'''
 
| '''required'''
Line 53: Line 54:
 
|-
 
|-
 
| date
 
| date
| Release date in the format YY-MM-DD
+
| Release date in the format YYYY-MM-DD
 
| '''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 88: Line 77:
 
{{DLC
 
{{DLC
 
| header= Utopia
 
| header= Utopia
| logo= Utopia banner.jpg
+
| logo= Banner Utopia.jpg
 
| type= Expansion
 
| type= Expansion
 
| patch= 1.5
 
| patch= 1.5
 
| date= 2017-04-06
 
| date= 2017-04-06
| pdx= stellaris-utopia/STST01ESK0000001.html
+
| storeb = {{Store|pdx|stellaris-utopia/STST01ESK0000001.html}} / {{Store|steam|app/553280}}
| steam= 553280
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 99: Line 87:
 
{{DLC
 
{{DLC
 
| header= Utopia
 
| header= Utopia
| logo= Utopia banner.jpg
+
| logo= Banner Utopia.jpg
 
| type= Expansion
 
| type= Expansion
 
| patch= 1.5
 
| patch= 1.5
 
| date= 2017-04-06
 
| date= 2017-04-06
| pdx= stellaris-utopia/STST01ESK0000001.html
+
| storeb = {{Store|pdx|stellaris-utopia/STST01ESK0000001.html}} / {{Store|steam|app/553280}}
| steam= 553280
 
 
}}
 
}}
  

Latest revision as of 20:38, 17 May 2020

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 required
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
  • Story pack
  • Species 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 Utopia expansion will be set up as follows:

{{DLC
| header= Utopia
| logo= Banner Utopia.jpg
| type= Expansion
| patch= 1.5
| date= 2017-04-06
| storeb = {{Store|pdx|stellaris-utopia/STST01ESK0000001.html}} / {{Store|steam|app/553280}}
}}
Utopia.png Utopia
Outliner top.png
Banner Utopia.jpg
Type
Release date / Patch
2017-04-06 / 1.5

Store: Expansion