Template:DLC:修订间差异

无编辑摘要
无编辑摘要
第1行: 第1行:
<includeonly>{{infobox
|width=344px
|float=right
|clear=right
|header=<div style="font-size:150%; padding: 3px 0px; margin-bottom: 3px;">{{#ifexist: File:{{{header|}}} icon.png | [[File:{{{header|}}} icon.png|28px|link={{{header|}}} ]] }} {{{header|DLC}}}</div>
|content=
{{#if: {{{logo|}}} | [[File:{{{logo}}}|330px]]
----}}
'''类别'''<div style="float:right;">[[可下载内容#{{{header|}}}| {{{type|What type of DLC is it?}}} ]]</div>
----
'''发布时间 {{#if: {{{patch|}}}|/ 补丁 }}'''<div style="float:right;">{{{date|YYYY-MM-DD}}}  {{#if: {{{patch|}}}|/ [[{{{patch|}}} 版本|{{{patch|1.XX}}}]] }}</div>
----
'''商店:'''<div style="float:right;"> {{{storeb|{{Store|pdx}} / {{Store|steam}} }}} </div>
}}</includeonly><noinclude>
{{template doc}}
[[Category:DLC]]
[[Category:信息框模板]]
[[Category:模板]]</noinclude>
<includeonly>{| class="mobilewidthfix countryboxfix roundy-6 infobox" style="font-size:88%; background-color:#f8f9fa; float:right; width:330px; height:right; clear:none; color:#000000;"
<includeonly>{| class="mobilewidthfix countryboxfix roundy-6 infobox" style="font-size:88%; background-color:#f8f9fa; float:right; width:330px; height:right; clear:none; color:#000000;"
|-
|-

2021年3月19日 (五) 21:49的版本

[阅读] [编辑]Template-info.png 模板文档

该模板的主要目的是提供商店链接,同时也链接到有关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 发行日期,格式为年-月-日。 必须
storeb
  • 到 Paradox Interactive store/ Steam store的链接
  • {{Store}} 模板一起使用。
必须

例子

“十字军之王 III”基础游戏的DLC 信息框设置如下:

{{DLC
| header= 十字军之王 III
| logo= Banner Crusader Kings III.jpg
| type= 基础游戏
| patch= 1.0
| date= 2020-09-01
| storeb = {{Store|pdx|crusader-kings-iii/CKCK03GSK0000001-MASTER.html}} / {{Store|steam|app/1158310}}
}}
DLC
Banner Crusader Kings III.jpg
概述
类型 基础游戏
发行日期 / 补丁 2020-09-01 / 1.0
商店:基础游戏 Steam