Template:Expansion:修订间差异

无编辑摘要
无编辑摘要
第13行: 第13行:
| bfb
| bfb
| bftb = 博斯普鲁斯之战
| bftb = 博斯普鲁斯之战
| nsb = 寸步不退
| bba = 唯有浴血
| #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}}}}}
| tfv = 共赴胜利
| tfv = 共赴胜利
第21行: 第23行:
| bfb
| bfb
| bftb = 博斯普鲁斯之战
| bftb = 博斯普鲁斯之战
| nsb = 寸步不退
| bba = 唯有浴血
| #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>

2022年10月1日 (六) 20:50的版本

Expansion should be used to indicate which expansion of Hearts of Iron 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


Parameter Values Explanation
1, 2 tfw Together for Victory must be enabled
dod Death or Dishonor must be enabled
wtt Waking the Tiger must be enabled
mtg Man the Guns must be enabled
lar La Résistance must be enabled
small left for sections (default)
not left for articles

Examples

Page notification

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

<-- Top of the page -->

<-- Content -->

Section notification

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

<-- Top of the section -->

<-- Content -->

Multiple DLCs

<-- Top of the page/section -->
{{Expansion|tfv|dod}}
<-- Content -->

<-- Top of the page/section -->

<-- Content -->