小无编辑摘要 |
小无编辑摘要 |
||
| 第6行: | 第6行: | ||
|textstyle={{#ifeq: {{{small|left}}} | left | font-size:85%}} | |textstyle={{#ifeq: {{{small|left}}} | left | font-size:85%}} | ||
|text=仅当启用 [[{{#Switch: {{lc:{{{1}}}}} | |text=仅当启用 [[{{#Switch: {{lc:{{{1}}}}} | ||
|votp = 人民之声 | |votp|votpb = 人民之声 | ||
|dow = 奇迹黎明 | |dow|dowb = 奇迹黎明 | ||
|cots = 南方巨像 | |cots|cotsb = 南方巨像 | ||
|soi = 利益之手 | |soi|soib = 利益之手 | ||
|poe = 帝国之枢 | |poe|poeb = 帝国之枢 | ||
|coc = 商业特许 | |coc|cocb = 商业特许 | ||
| #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 = 人民之声 | |votp|votpb = 人民之声 | ||
|dow = 奇迹黎明 | |dow|dowb = 奇迹黎明 | ||
|cots = 南方巨像 | |cots|cotsb = 南方巨像 | ||
|soi = 利益之手 | |soi|soib = 利益之手 | ||
|poe = 帝国之枢 | |poe|poeb = 帝国之枢 | ||
|coc = 商业特许 | |coc|cocb = 商业特许 | ||
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{2}}}" for [[Template:Expansion]])</span>}}]] DLC }}时可用 | | #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{2}}}" for [[Template:Expansion]])</span>}}]] DLC }}时可用 | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
2025年7月8日 (二) 20:58的最新版本
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 |
|
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 -->
| 仅当启用 人民之声 DLC 时可用 |
<-- Content -->
Section notification
<-- Top of the section -->
{{Expansion|votp}}
<-- Content -->
<-- Top of the section -->
|
|
仅当启用 人民之声 DLC 时可用 |