模板:SVersion/doc

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

SVersion should be used to indicate for which major version of Hearts of Iron 4 a section was written or updated. The template adds a disclaimer only if the specified version does not match with the most recent of the game.

Usage

This infobox may be added by copy-pasting the template as shown below at the beginning of a section.

{{SVersion|X}}

Substitute the value for X.

Parameters

Parameter Explanation Default Status
1 To specify for which major patch a section was written or updated an unknown version required
2 To specify the scope section optional

Values

The above parameters can have the following values:

Parameter Values Explanation
1 Major patch number The major patch for which this section has been written (for example 1.2 or 1.6)
Time or Timeless For timeless articles.
Parameter Values Explanation
2 section This is the default setting.
table
infobox The width is limited to 475 px.
image To be used in captions.

Updating this template

Message Meneth.

Examples

The following:
=== Important centers of trade ===
{{SVersion|Timeless}}
Important centers of trade provide:
* {{green|+20}} Trade power
* {{green|+2}} Naval force limit (not for inland centers)

will display:

Important centers of trade

Important centers of trade provide:

  • +20 Trade power
  • +2 Naval force limit (not for inland centers)
The following:
=== Important centers of trade ===
{{SVersion|1.6}}
Important centers of trade provide:
* {{green|+10}} Trade power
* {{green|+1}} Naval force limit

will display:

Important centers of trade

Important centers of trade provide:

  • +10 Trade power
  • +1 Naval force limit