版本差异对比:Template:DLC
对比版本 #19912 与版本 #19913 的 MediaWiki 双栏 Wikitext 差异
+28 行-14 行
第 1 行:
第 1 行:
−<includeonly>{{infobox
+<includeonly>{| class="roundy a-r at-c bg-蓝" style="width: 330px; margin-left: 5px; margin-bottom: 5px;"
−|width=330px
+|-
−|float=right
+| colspan="2" |
−|clear=right
+{| class="roundy bg-蓝 fulltable"
−|header=<div style="font-size:150%; padding: 3px 0px; margin-bottom: 3px;">{{#ifexist: File:{{{header|}}}.png | [[File:{{{header|}}}.png|28px|link={{{header|}}} ]] }} {{{header|DLC}}}</div>
+|-
−|content=
+| 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>
−{{#if: {{{logo|}}} | [[File:{{{logo}}}|330px]]
+|}
−----}}
+|-
−'''Type'''<div style="float:right;">[[Downloadable content#{{{type|}}}s| {{{type|What type of DLC is it?}}} ]]</div>
+| colspan="2" |
+{| class="roundy bgwhite fulltable"
+|-
+| class="roundy bgl-蓝 bd-蓝 textblack bgwhite" | {{#if: {{{logo|}}} | [[File:{{{logo}}}|330px]]}}
+|}
+|-
+| colspan="2" |
+{| class="roundy bgl-蓝 bd-蓝 bw-1 fulltable"
+|-
+| class="textblack" |'''概述'''
+{| class="roundy bgwhite fulltable"
+|-
+| class="roundy bl-蓝 bgwhite bw-1" |
+'''类型'''<div style="float:right;">[[DLC{{{type|}}}| {{{type|是什么类型的DLC?}}} ]]</div>
----
----
−'''Release date {{#if: {{{patch|}}}|/ Patch }}'''<div style="float:right;">{{{date|YY-MM-DD}}} {{#if: {{{patch|}}}|/ [[Patch {{{patch|}}}|{{{patch|1.XX}}}]] }}</div>
+'''发布日期 {{#if: {{{patch|}}}|/ Patch }}'''<div style="float:right;">{{{date|YY-MM-DD}}} {{#if: {{{patch|}}}|/ [[Patch {{{patch|}}}|{{{patch|1.XX}}}]] }}</div>
----
----
−'''Store: {{{type|}}}'''<div style="float:right;">[https://www.paradoxplaza.com/{{{pdx|example}}} Paradox] / [http://store.steampowered.com/app/{{{steam|example}}}/ Steam]</div>
+'''市场:{{{type|}}}'''<div style="float:right;">[https://www.paradoxplaza.com/{{{pdx|example}}} Paradox] / [http://store.steampowered.com/app/{{{steam|example}}}/ Steam]</div>
{{#if: {{{pdxc|}}}|
{{#if: {{{pdxc|}}}|
----
----
−'''Store: Content Pack'''<div style="float:right;">[https://www.paradoxplaza.com/{{{pdxc|example}}} Paradox] / [http://store.steampowered.com/app/{{{steamc|example}}}/ Steam]</div> }}
+'''市场:兵模包'''<div style="float:right;">[https://www.paradoxplaza.com/{{{pdxc|example}}} Paradox] / [http://store.steampowered.com/app/{{{steamc|example}}}/ Steam]</div> }}
{{#if: {{{pdxm|}}}|
{{#if: {{{pdxm|}}}|
----
----
−'''Store: Music Pack'''<div style="float:right;">[https://www.paradoxplaza.com/{{{pdxm|example}}} Paradox] / [http://store.steampowered.com/app/{{{steamm|example}}}/ Steam]</div> }}
+'''市场:音乐包'''<div style="float:right;">[https://www.paradoxplaza.com/{{{pdxm|example}}} Paradox] / [http://store.steampowered.com/app/{{{steamm|example}}}/ Steam]</div> }}
−}}</includeonly><noinclude>
+|}
+</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.
2017年9月13日(三)07:30 的版本
预览右侧版本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:
