版本差异对比:Template:DLC
对比版本 #19919 与版本 #19920 的 MediaWiki 双栏 Wikitext 差异
+5 行-3 行
第 4 行:
第 4 行:
{| class="roundy bg-蓝 fulltable"
{| class="roundy bg-蓝 fulltable"
|-
|-
−| class="roundy bd-蓝 textblack bgwhite" | <div style="font-size:150%; padding: 3px 0px; margin-bottom: 3px;">{{#ifexist: File:{{{header|}}}.png | [[File:{{{header|}}}.png|28px|link={{{header|}}} ]] }} {{{header|DLC}}}</div>
+| class="roundy bd-蓝 textblack bgwhite" | <div style="font-size:150%; padding: 3px 0px; margin-bottom: 3px;">{{#ifexist: File:{{{header|}}}.png | [[File:{{{header|}}}.png|28px|link={{{name_zh|}}} ]] }} {{{name_zh|DLC}}}</div>
|}
|}
|-
|-
第 101 行:
第 101 行:
<pre>
<pre>
{{DLC
{{DLC
−| header= 常识
+| header= Common Sense
+| name_zh=常识
| logo= Common Sense banner.jpg
| logo= Common Sense banner.jpg
| type= 扩展包
| type= 扩展包
第 114 行:
第 115 行:
{{DLC
{{DLC
−| header= 常识
+| header= Common Sense
+| name_zh= 常识
| logo= Common Sense banner.jpg
| logo= Common Sense banner.jpg
| type= 扩展包
| type= 扩展包
2017年9月13日(三)07:34 的版本
预览右侧版本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 |
|
required |
logo |
|
optional |
type |
DLC type (includes link to section on DLC page). Can be either:
|
required |
patch |
|
optional |
date |
Release date in the format YY-MM-DD |
required |
pdx |
|
required |
steam |
|
required |
pdxc / steamc |
|
optional |
pdxm / steamm |
|
optional |
Example
The DLC infoxbox for the Common Sense expansion will be set up as follows:
