Template:DLC: Difference between revisions

No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
{{#if: {{{logo|}}} | [[File:{{{logo}}}|330px]]
{{#if: {{{logo|}}} | [[File:{{{logo}}}|330px]]
----}}
----}}
'''Type'''<div style="float:right;">[[Downloadable content#{{{header|}}}| {{{type|What type of DLC is it?}}} ]]</div>
''' 类别'''<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|YYYY-MM-DD}}}  {{#if: {{{patch|}}}|/ [[Patch {{{patch|}}}|{{{patch|1.XX}}}]] }}</div>
''' 发布时间 {{#if: {{{patch|}}}|/ 补丁 }}'''<div style="float:right;">{{{date|YYYY-MM-DD}}}  {{#if: {{{patch|}}}|/ [[Patch {{{patch|}}}|{{{patch|1.XX}}}]] }}</div>
}}</includeonly><noinclude>
}}</includeonly><noinclude>
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.
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.
Line 87: Line 87:
[[Category:DLC]]
[[Category:DLC]]
[[Category:Infoboxes]]
[[Category:Infoboxes]]
[[Category:Templates]]</noinclude>
[[Category: 模板]]</noinclude>

Latest revision as of 09:14, 19 February 2021

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:
  1. 重定向 Template:分栏
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:

  1. 重定向 Template:分栏
optional

Example

The DLC infoxbox for the Together for Victory country pack will be set up as follows:

{{DLC
| header= Death or Dishonor
| logo= Banner Death or Dishonor.jpg
| type= Country pack
| patch= 1.4
| date= 2017-06-14
| storeb = {{Store|pdx|hearts-of-iron-iv-death-or-dishonor/HIHI04ESK0000007.html}} / {{Store|steam|app/584140}}
}}
Death or Dishonor icon.png Death or Dishonor

Banner Death or Dishonor.jpg


类别
发布时间 / 补丁
2017-06-14 / 1.4