Template:DLC:修订间差异

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



2019年2月27日 (三) 13:55的版本

The template's main purpose is to provide store links while also linking to related information on the DLC in question.

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 YY-MM-DD required
pdx required
steam
  • Link to Steam store.
  • The appid will suffice.
required
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

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
| pdx= crusader-kings-ii-horse-lords/CKCK02ESK0000009-MASTER.html
| steam= 354330
| pdxc= crusader-kings-ii-horse-lords-content-pack/CKCK02DSK0000031.html
| steamc= 354331
}}
Horse Lords.png DLC
Horse Lords banner.jpg
概述
类型 Expansion
发布日期 / 补丁 2015-07-14 / 2.4
商店:Expansion Paradox / Steam
商店:兵模包 Paradox / Steam