(创建页面,内容为“<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 = | |soi = 伊斯兰之剑 | ||
|lor = | |lor = 罗马遗产 | ||
|si = | |si = 日落入侵 | ||
|tr = | |tr = 共和国 | ||
|tog = | |tog = 逝往神灵 | ||
|soa = | |soa = 亚伯拉罕之裔 | ||
|roi = | |roi = 印度罗阇 | ||
|cm = | |cm = 查理曼 | ||
|wol = | |wol = 生活之道 | ||
|hl = | |hl = 马上诸王 | ||
|con = | |con = 御前会议 | ||
|trd = | |trd = 死神索命 | ||
|mnm = | |mnm = 修道士与密契者 | ||
|jd = | |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 = | |soi = 伊斯兰之剑 | ||
|lor = | |lor = 罗马遗产 | ||
|si = | |si = 日落入侵 | ||
|tr = | |tr = 共和国 | ||
|tog = | |tog = 逝往神灵 | ||
|soa = | |soa = 亚伯拉罕之裔 | ||
|roi = | |roi = 印度罗阇 | ||
|cm = | |cm = 查理曼 | ||
|wol = | |wol = 生活之道 | ||
|hl = | |hl = 马上诸王 | ||
|con = | |con = 御前会议 | ||
|trd = | |trd = 死神索命 | ||
|mnm = | |mnm = 修道士与密契者 | ||
|jd = | |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:
只适用于DLC伊斯兰之剑开启时。 |
- For sections use the following:
{{Expansion|soi}}
To be displayed as:
只适用于DLC伊斯兰之剑开启时。 |
- For content that is available from several DLCs use the following:
{{Expansion|hl|jd}}
To be displayed as:
只适用于DLC马上诸王或碧玉之龙开启时。 |