模板:Expansion/doc

这是Template:Expansion的模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

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 -->