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]] | ||
----}} | ----}} | ||
''' | ''' 类别'''<div style="float:right;">[[Downloadable content#{{{header|}}}| {{{type|What type of DLC is it?}}} ]]</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: | [[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 |
|
optional |
| type | DLC type (includes link to section on DLC page). Can be either:
|
required |
| patch |
|
optional |
| date | Release date in the format YYYY-MM-DD | required |
| storeb |
|
required |
| storec storem |
Additional store links for:
|
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}}
}}