小 (文本替换 - 替换“Category:Templates”为“Category:模板”) |
瓦列里·米哈伊洛维奇·萨布林(讨论 | 贡献) 无编辑摘要 |
||
第7行: | 第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. |
2021年2月19日 (五) 09:14的最新版本
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}} }}