版本差异对比:Template:DLC/doc

对比版本 #41482 与版本 #66270 的 MediaWiki 双栏 Wikitext 差异

+39 行-37 行
(无编辑摘要)
(已是最早版本)
(无编辑摘要)
(已是最新版本)
第 1 行:
第 1 行:
−The template's main purpose is to provide store links while also linking to related information on the DLC in question.
+<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]]
+ <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
+该模板的主要目的是提供商店链接,同时也链接到有关DLC的相关信息。
−== Parameters ==
+== 参数 ==
{| class="wikitable"
{| class="wikitable"
−! Parameter !! Notes !! Status
+! 参数 !! 备注 !! 状态
|-
|-
| header
| header
|
|
−* DLC title (expansions will also display the in-game icon).
+* DLC 标题(扩展包也将显示游戏内图标)。
−* Expansion icons can be found in [[:Category:Expansion icons]].
+* 扩展包图标(Expansion icons)能在 [[:Category:DLC图标]] 找到。
−| '''required'''
+| '''必须'''
|-
|-
| logo
| logo
|
|
−* DLC banner/header (usually from Steam for size consistency).
+* DLC banner/header (通常来自Steam,为了尺寸一致性)。
−* DLC banners can be found in [[:Category:DLC banners]].
+* DLC banners 能在 [[:Category:DLC]] 找到。
−| '''optional'''
+| '''可选'''
|-
|-
| type
| type
−| DLC type (includes link to section on [[DLC]] page). Can be either: {{MultiColumn|
+| DLC 类型(包括链接到 [[DLC]] 页面上的段落,请使用中文)。能是其一:{{MultiColumn|
−* Expansion
+* 扩展包
−* Immersion Pack
+* 沉浸包
−* Content Pack
+* 趣味包
−* Music Pack
+* 装饰包
−* E-book |2}}
+* 音乐包
−| '''required'''
+* 电子书
+|2}}
+| '''必须'''
|-
|-
| patch
| patch
|
|
−* Add only for gameplay affecting DLCs.
+* 仅为影响游戏性的DLC添加。
−* Only major versions - good 1.x , bad 1.x.y
+* 只需要主版本号 - 即1.x ,而非1.x.y。
−| '''optional'''
+| '''可选'''
|-
|-
| date
| date
−| Release date in the format YY-MM-DD
+| 发行日期,格式为年-月-日。
−| '''required'''
+| '''必须'''
|-
|-
| pdx
| pdx
|
|
−* Link to Paradox Interactive store.
+* 到Paradox Interactive store的链接。
−* Copy everything past <code>https://www.paradoxplaza.com/</code>
+* 会将参数复制到<code>https://www.paradoxplaza.com/</code>后面。
−| '''required'''
+| '''必须'''
|-
|-
| steam
| steam
|
|
−* Link to Steam store.
+* 到Steam store的链接。
−* The ''appid'' will suffice.
+* 只需要''appid''。
−| '''required'''
+| '''必须'''
|-
|-
−
| pdxc / steamc
| pdxc / steamc
|
|
−* Accompanying content for expansions (content pack).
+* 扩展包的附送内容(兵模包)。
−* Otherwise, use main parameters.
+* 若无,使用主参数。
−| '''optional'''
+| '''可选'''
|-
|-
| pdxm / steamm
| pdxm / steamm
|
|
−* Accompanying content for expansions (music pack).
+* 扩展包的附送内容(音乐包)。
−* Otherwise, use main parameters.
+* 若无,使用主参数。
−| '''optional'''
+| '''可选'''
|}
|}
−== Example ==
+== 例子 ==
−The DLC infoxbox for the ''Common Sense'' expansion will be set up as follows:
+“常识”扩展包的DLC infoxbox设置如下:
−
<pre>
<pre>
{{DLC
{{DLC

2020年4月22日(三)02:15 的最新版本

预览右侧版本

这是:的模板文档。

当直接浏览时,使用变量可能会失效,请不要-{zh-hans:使用硬编码来代替;zh-hant:写死}-页面名或地址。

该模板的主要目的是提供商店链接,同时也链接到有关DLC的相关信息。

参数

参数

备注

状态

header

  • DLC 标题(扩展包也将显示游戏内图标)。
  • 扩展包图标(Expansion icons)能在 :Category:DLC图标 找到。

必须

logo

  • DLC banner/header (通常来自Steam,为了尺寸一致性)。
  • DLC banners 能在 :Category:DLC 找到。

可选

type

DLC 类型(包括链接到 DLC 页面上的段落,请使用中文)。能是其一:

  • 扩展包
  • 沉浸包
  • 趣味包
  • 装饰包
  • 音乐包
  • 电子书

必须

patch

  • 仅为影响游戏性的DLC添加。
  • 只需要主版本号 - 即1.x ,而非1.x.y。

可选

date

发行日期,格式为年-月-日。

必须

pdx

必须

steam

  • 到Steam store的链接。
  • 只需要appid。

必须

pdxc / steamc

  • 扩展包的附送内容(兵模包)。
  • 若无,使用主参数。

可选

pdxm / steamm

  • 扩展包的附送内容(音乐包)。
  • 若无,使用主参数。

可选

例子

“常识”扩展包的DLC infoxbox设置如下: