Template:DLC:修订间差异

(文本替换 - 替换“Category:Templates”为“Category:模板”)
无编辑摘要
 
(未显示同一用户的3个中间版本)
第1行: 第1行:
<includeonly>{{infobox
<includeonly>{{infobox
|width=330px
|width=430px
|float=right
|float=right
|clear=right
|clear=right
第7行: 第7行:
{{#if: {{{logo|}}} | [[File:{{{logo}}}|315px]]
{{#if: {{{logo|}}} | [[File:{{{logo}}}|315px]]
----}}
----}}
'''Type'''<div style="float:right;">[[Downloadable content#{{{header|}}}| {{{type|What type of DLC is it?}}} ]]</div>
''' 类型'''<div style="float:right;">[[ 可下载内容#{{{header|}}}| {{{type|DLC 是什么类型?}}} ]]</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|1.XX}}}]] }}</div>
{{#if: {{{storeb|}}}|
{{#if: {{{storeb|}}}|
----
----
'''Store: {{{type|}}}'''<div style="float:right;"> {{{storeb|{{Store|pdx}} / {{Store|steam}} }}} </div> }}
''' 商店:{{{type|}}}'''<div style="float:right;"> {{{storeb|{{Store|pdx}} / {{Store|steam}} <br> {{Store|gog}} }}} </div> }}
{{#if: {{{storec|}}}|
{{#if: {{{storec|}}}|
----
----
'''Store: Content pack'''<div style="float:right;"> {{{storec|{{Store|pdx}} / {{Store|steam}} }}} </div> }}
''' 商店:内容包'''<div style="float:right;"> {{{storec|{{Store|pdx}} / {{Store|steam}} <br> {{Store|gog}} }}}</div> }}
{{#if: {{{storem|}}}|
{{#if: {{{storem|}}}|
----
----
'''Store: Music pack'''<div style="float:right;"> {{{storem|{{Store|pdx}} / {{Store|steam}} }}} </div> }}
''' 商店:音乐包'''<div style="float:right;"> {{{storem|{{Store|pdx}} / {{Store|steam}} <br> {{Store|gog}} }}}</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.
第29行: 第30行:
|
|
* DLC title (expansions will also display the in-game icon).
* DLC title (expansions will also display the in-game icon).
* Expansion icons can be found in [[:Category:Expansion icons]].
* Expansion icons can be found in [[:Category: 扩展包图标]].
| '''required'''
| '''required'''
|- 
|- 
第76行: 第77行:
<pre>
<pre>
{{DLC
{{DLC
| header= Utopia
| header= 乌托邦
| logo= Banner Utopia.jpg
| logo= Banner Utopia.jpg
| type= Expansion
| type= 扩展包
| patch= 1.5
| patch= 1.5
| date= 2017-04-06
| date= 2017-04-06
| storeb = {{Store|pdx|stellaris-utopia/STST01ESK0000001.html}} / {{Store|steam|app/553280}}
| storeb = {{Store|pdx|stellaris-utopia/STST01ESK0000001.html}} / {{Store|steam|app/553280}} <br> {{Store|gog|zh/game/stellaris_utopia}}
}}
}}
</pre>
</pre>


{{DLC
{{DLC
| header= Utopia
| header= 乌托邦
| logo= Banner Utopia.jpg
| logo= Banner Utopia.jpg
| type= Expansion
| type= 扩展包
| patch= 1.5
| patch= 1.5
| date= 2017-04-06
| date= 2017-04-06
| storeb = {{Store|pdx|stellaris-utopia/STST01ESK0000001.html}} / {{Store|steam|app/553280}}
| storeb = {{Store|pdx|stellaris-utopia/STST01ESK0000001.html}} / {{Store|steam|app/553280}} <br> {{Store|gog|zh/game/stellaris_utopia}}
}}
}}


[[Category:DLC]]
[[Category:DLC]]
[[Category:Infoboxes]]
[[Category: 信息框]]
[[Category:模板]]</noinclude>
[[Category:模板]][[en:{{FULLPAGENAME}}]]</noinclude>

2022年3月10日 (四) 13:20的最新版本

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= 乌托邦
| logo= Banner Utopia.jpg
| type= 扩展包
| patch= 1.5
| date= 2017-04-06
| storeb = {{Store|pdx|stellaris-utopia/STST01ESK0000001.html}} / {{Store|steam|app/553280}} <br> {{Store|gog|zh/game/stellaris_utopia}}
}}
乌托邦
Outliner top.png
Banner Utopia.jpg
类型
发行日期 / 版本
2017-04-06 / 1.5

商店:扩展包