Template:DLC:修订间差异

(文本替换 - 替换“Category:Templates”为“Category:模板”)
无编辑摘要
第1行: 第1行:
<includeonly>{| class="roundy-6 infobox" style="font-size:88%; background-color:#f8f9fa; float:right; width:330px; height:right; clear:none; color:#000000;"
<includeonly>{{infobox
|-
|width=330px
! colspan="2" class="roundytop-6" style="background-color:#444 !important; color:#FFFFFF; font-size:150%; padding:0.5em;" | {{#if: {{{icon|}}} | [[File:{{{icon|}}}|28px|link={{{header|}}} ]] }} {{{name_zh|{{PAGENAME}}}}}
|float=right
|-
|clear=right
| colspan="2" style="text-align:center;" | {{#if: {{{logo|}}} | [[File:{{{logo}}}|330px]]}}
|header=<div style="font-size:150%; padding: 3px 0px; margin-bottom: 3px;">{{#if: {{{icon|}}} | [[File:{{{icon|}}}|28px|link={{{header|}}} ]] }} {{{header|DLC}}}</div>
|-
|content=
| colspan="2" style="text-align:center;" |'''概述'''
{{#if: {{{logo|}}} | [[File:{{{logo}}}|330px]]
|
----}}
| style="width:30%; padding:0.5em;" | '''类型'''
''' 类型'''<div style="float:right;">[[DLC#{{{type|}}}s| {{{type|是什么类型的DLC?}}} ]]</div>
| style="width:70%;| [[DLC#{{{type|}}}| {{{type|是什么类型的DLC?}}} ]]
----
|-
'''发布日期{{#if: {{{patch|}}}|/ 补丁 }}'''<div style="float:right;">{{{date|YYYY-MM-DD}}}  {{#if: {{{patch|}}}|/ [[Patch {{{ 版本|}}}|{{{patch|1.XX}}}]] }}</div>
| style="width:30%; padding:0.5em;" | '''发布日期 {{#if: {{{patch|}}}|/ 补丁 }}'''
{{#if: {{{storeb|}}}|
| style="width:70%;| {{{date|YY-MM-DD}}}  {{#if: {{{patch|}}}|/ [[{{{patch|}}} 版本|{{{patch|1.XX}}}]] }}
----
|-
'''商店:{{{type|}}}'''<div style="float:right;"> {{{storeb|{{Store|pdx}} / {{Store|steam}} }}} </div> }}
| style="width:30%; padding:0.5em;" | '''商店:{{{type|}}}'''
{{#if: {{{storec|}}}|
| style="width:70%;| [https://www.paradoxplaza.com/{{{pdx|example}}} Paradox] / [http://store.steampowered.com/app/{{{steam|example}}}/ Steam]
----
|-
'''商店: 内容 包'''<div style="float:right;"> {{{storec|{{Store|pdx}} / {{Store|steam}} }}} </div> }}
| {{#if: {{{pdxc|}}}| style="width:30%; padding:0.5em;" {{!}} '''商店: 兵模 包'''
{{#if: {{{storem|}}}|
{{!}} style="width:70%;{{!}} [https://www.paradoxplaza.com/{{{pdxc|example}}} Paradox] / [http://store.steampowered.com/app/{{{steamc|example}}}/ Steam] }}
----
|-
'''商店:音乐包'''<div style="float:right;"> {{{storem|{{Store|pdx}} / {{Store|steam}} }}} </div> }}
| {{#if: {{{pdxm|}}}| style="width:30%; padding:0.5em;" {{!}} '''商店:音乐包'''
}}</includeonly><noinclude>
{{!}} style="width:70%;{{!}} [https://www.paradoxplaza.com/{{{pdxc|example}}} Paradox] / [http://store.steampowered.com/app/{{{steamc|example}}}/ Steam] }}
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.
|-
| colspan="2" class="roundybottom-6" style="background-color:#444 !important; padding:0.5em;" |
|}</includeonly><noinclude>
The template's main purpose is to provide store links while also linking to related information on the DLC in question.


== Parameters ==
== Parameters ==
第50行: 第46行:
| 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
* Immersion Pack
* Immersion pack
* Content Pack
* Content pack
* Music Pack
* Music pack
* E-book |2}}
* E-book |2}}
| '''required'''
| '''required'''
第63行: 第59行:
|-
|-
| 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'''
|}
|}
== Example ==
== Example ==
The DLC infoxbox for the ''Horse Lords'' expansion will be set up as follows:
The DLC infoxbox for the ''Horse Lords'' expansion will be set up as follows:
第103行: 第86行:
| patch= 2.4
| patch= 2.4
| date= 2015-07-14
| date= 2015-07-14
| pdx= crusader-kings-ii-horse-lords/CKCK02ESK0000009-MASTER.html
| storeb = {{Store|pdx|crusader-kings-ii-horse-lords/CKCK02ESK0000009-MASTER.html}} / {{Store|steam|app/354330}}
| steam= 354330
| storec = {{Store|pdx|crusader-kings-ii-horse-lords-content-pack/CKCK02DSK0000031.html}} / {{Store|steam|app/354331}}
| pdxc= crusader-kings-ii-horse-lords-content-pack/CKCK02DSK0000031.html
| steamc= 354331
}}
}}
</pre>
</pre>


{{DLC
{{DLC
| header= Horse Lords
| header= 马上诸王
| icon= DLC icon Horse Lords.png
| icon= DLC icon Horse Lords.png
| logo= Horse Lords banner.jpg
| logo= Horse Lords banner.jpg
| type= Expansion
| type= 扩展包
| patch= 2.4
| patch= 2.4
| date= 2015-07-14
| date= 2015-07-14
| pdx= crusader-kings-ii-horse-lords/CKCK02ESK0000009-MASTER.html
| storeb = {{Store|pdx|crusader-kings-ii-horse-lords/CKCK02ESK0000009-MASTER.html}} / {{Store|steam|app/354330}}
| steam= 354330
| storec = {{Store|pdx|crusader-kings-ii-horse-lords-content-pack/CKCK02DSK0000031.html}} / {{Store|steam|app/354331}}
| pdxc= crusader-kings-ii-horse-lords-content-pack/CKCK02DSK0000031.html
| steamc= 354331
}}
}}



2020年3月5日 (四) 10:35的版本

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
  • DLC title.
required
icon optional
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
  • Immersion pack
  • Content 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 Horse Lords expansion will be set up as follows:

{{DLC
| header= Horse Lords
| icon= DLC icon Horse Lords.png
| logo= Horse Lords banner.jpg
| type= Expansion
| patch= 2.4
| date= 2015-07-14
| storeb = {{Store|pdx|crusader-kings-ii-horse-lords/CKCK02ESK0000009-MASTER.html}} / {{Store|steam|app/354330}}
| storec = {{Store|pdx|crusader-kings-ii-horse-lords-content-pack/CKCK02DSK0000031.html}} / {{Store|steam|app/354331}}
}}
DLC icon Horse Lords.png 马上诸王
Horse Lords banner.jpg
类型
发布日期/ 补丁
2015-07-14 / 2.4

商店:扩展包
商店:内容包