Template:Expansion:修订间差异

(创建页面,内容为“<includeonly>{{ambox |type=notice |small={{{small|left}}} |image={{icon|{{{1}}}|42px}}{{#if: {{{2|}}}|{{icon|{{{2}}}|42px}}}} |smallimage={{icon|{{{1}}}|24px}}{{#if:…”)
 
无编辑摘要
第6行: 第6行:
|textstyle={{#ifeq: {{{small|left}}} | left | font-size:85%}}
|textstyle={{#ifeq: {{{small|left}}} | left | font-size:85%}}
|text=只适用于DLC[[{{#Switch: {{lc:{{{1}}}}}
|text=只适用于DLC[[{{#Switch: {{lc:{{{1}}}}}
|soi = Sword of Islam
|soi = 伊斯兰之剑
|lor = Legacy of Rome
|lor = 罗马遗产
|si = Sunset Invasion
|si = 日落入侵
|tr = The Republic
|tr = 共和国
|tog = The Old Gods
|tog = 逝往神灵
|soa = Sons of Abraham
|soa = 亚伯拉罕之裔
|roi = Rajas of India
|roi = 印度罗阇
|cm = Charlemagne
|cm = 查理曼
|wol = Way of Life
|wol = 生活之道
|hl = Horse Lords
|hl = 马上诸王
|con = Conclave
|con = 御前会议
|trd = The Reaper's Due
|trd = 死神索命
|mnm = Monks and Mystics
|mnm = 修道士与密契者
|jd = Jade Dragon
|jd = 碧玉之龙
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{1}}}" for [[Template:Expansion]])</span>}}]]{{#if: {{{2|}}}|'''或'''[[{{#Switch: {{lc:{{{2}}}}}
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{1}}}" for [[Template:Expansion]])</span>}}]]{{#if: {{{2|}}}|'''或'''[[{{#Switch: {{lc:{{{2}}}}}
|soi = Sword of Islam
|soi = 伊斯兰之剑
|lor = Legacy of Rome
|lor = 罗马遗产
|si = Sunset Invasion
|si = 日落入侵
|tr = The Republic
|tr = 共和国
|tog = The Old Gods
|tog = 逝往神灵
|soa = Sons of Abraham
|soa = 亚伯拉罕之裔
|roi = Rajas of India
|roi = 印度罗阇
|cm = Charlemagne
|cm = 查理曼
|wol = Way of Life
|wol = 生活之道
|hl = Horse Lords
|hl = 马上诸王
|con = Conclave
|con = 御前会议
|trd = The Reaper's Due
|trd = 死神索命
|mnm = Monks and Mystics
|mnm = 修道士与密契者
|jd = Jade Dragon
|jd = 碧玉之龙
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{2}}}" for [[Template:Expansion]])</span>}}]]}}开启时。
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{2}}}" for [[Template:Expansion]])</span>}}]]}}开启时。
}}</includeonly><noinclude>
}}</includeonly><noinclude>

2019年2月26日 (二) 21:24的版本

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 soi Sword of Islam must be enabled
lor Legacy of Rome must be enabled
si Sunset Invasion must be enabled
tr The Republic must be enabled
tog The Old Gods must be enabled
soa Sons of Abraham must be enabled
roi Rajas of India must be enabled
cm Charlemagne must be enabled
wol Way of Life must be enabled
hl Horse Lords must be enabled
con Conclave must be enabled
trd The Reaper's Due must be enabled
mnm Monks and Mystics must be enabled
jd Jade Dragon must be enabled
small left for sections (default)
not left for articles

Updating this template

You shouldn't have to.

Examples

  • For articles (top of the page) use the following:

{{Expansion|soi|small=no}}

To be displayed as:


  • For sections use the following:

{{Expansion|soi}}

To be displayed as:


  • For content that is available from several DLCs use the following:

{{Expansion|hl|jd}}

To be displayed as: