Template:Expansion:修订间差异

(创建页面,内容为“<includeonly>{{ambox |type=notice |small={{{small|left}}} |image={{icon|{{{1}}}|42px}}{{#if: {{{2|}}}|{{icon|{{{2}}}|42px}}}} |smallimage={{icon|{{{1}}}|24px}}{{#if: {{{2|}}}|{{icon|{{{2}}}|24px}}}} |textstyle={{#ifeq: {{{small|left}}} | left | font-size:85%}} |text=Available only with the [[{{#Switch: {{lc:{{{1}}}}} |votp = Voice of the People | #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{1}}}" for [[Template:Expansion]])</sp…”)
 
无编辑摘要
 
(未显示同一用户的2个中间版本)
第5行: 第5行:
|smallimage={{icon|{{{1}}}|24px}}{{#if: {{{2|}}}|{{icon|{{{2}}}|24px}}}}
|smallimage={{icon|{{{1}}}|24px}}{{#if: {{{2|}}}|{{icon|{{{2}}}|24px}}}}
|textstyle={{#ifeq: {{{small|left}}} | left | font-size:85%}}
|textstyle={{#ifeq: {{{small|left}}} | left | font-size:85%}}
|text=Available only with the [[{{#Switch: {{lc:{{{1}}}}}
|text= 仅当启用 [[{{#Switch: {{lc:{{{1}}}}} 
|votp = Voice of the People
|votp = 人民之声
|dow = 奇迹黎明
|cots = 南方巨像
|soi = 利益之手
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{1}}}" for [[Template:Expansion]])</span>}}]] DLC {{#if: {{{2|}}}|''or'' the [[{{#Switch: {{lc:{{{2}}}}}
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{1}}}" for [[Template:Expansion]])</span>}}]] DLC {{#if: {{{2|}}}|''or'' the [[{{#Switch: {{lc:{{{2}}}}}
|votp = Voice of the People
|votp = Voice of the People
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{2}}}" for [[Template:Expansion]])</span>}}]] DLC&nbsp;}}enabled.
|dow = Dawn of Wonder
|cots = Colossus of the South
|soi = Sphere of Influence
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{2}}}" for [[Template:Expansion]])</span>}}]] DLC&nbsp;}} 时可用
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Template doc}}
{{Template doc}}
[[Category:Amboxes]]
[[Category:Amboxes]]
</noinclude>
</noinclude>

2024年7月11日 (四) 12:01的最新版本

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

Expansion should be used to indicate which expansion of Europa Universalis 4 must be enabled to use the described content.

Usage

This infobox may be added by copy-pasting the template as shown below at the beginning of a section.

{{Expansion|X}}

Substitute the value for X.

Parameters

Parameter Explanation Default Status
1 To specify which expansion must be enabled empty required
2 To specify a second expansion which can be enabled instead of the first empty optional
small as of {{Ambox}} left optional

Values

The above parameters can have the following values:

Parameter Values Explanation
1, 2
  • votp
  • dow
  • cots
Value_Name must be enabled
small left for sections (default)
not left for articles

Examples

Page notification

<-- Top of the page -->
{{Expansion|votp|small=no}}
<-- Content -->

<-- Top of the page -->

<-- Content -->

Section notification

<-- Top of the section -->
{{Expansion|votp}}
<-- Content -->

<-- Top of the section -->

<-- Content -->