Template:Expansion:修订间差异

无编辑摘要
无编辑摘要
 
(未显示另一用户的1个中间版本)
第20行: 第20行:
|mnm = 修道士与密契者
|mnm = 修道士与密契者
|jd = 碧玉之龙
|jd = 碧玉之龙
|hf = 神圣之怒
| #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 = 伊斯兰之剑
|soi = 伊斯兰之剑
第35行: 第36行:
|mnm = 修道士与密契者
|mnm = 修道士与密契者
|jd = 碧玉之龙
|jd = 碧玉之龙
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{2}}}" for [[Template:Expansion]])</span>}}]]}} 启时。
|hf = 神圣之怒
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{2}}}" for [[Template:Expansion]])</span>}}]]}}启 时。
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Template doc}}
{{Template doc}}
[[Category:页首提示模板]]
[[Category:页首提示模板]]
</noinclude>
</noinclude>

2019年2月27日 (三) 14:52的最新版本

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: