模板:SVersion/doc

< 模板:SVersion
Pokewiz讨论 | 贡献2020年12月17日 (四) 06:43的版本 (merge from offical wiki)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
This is the documentation page for 模板:SVersion.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.

SVersion should be used to indicate for which major version of Europa Universalis 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 User:SolSys.

Examples[编辑源代码]

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

will display:

Important centers of trade[编辑源代码]

Important centers of trade provide:

The following:
=== Important centers of trade ===
{{SVersion|1.6}}
Important centers of trade provide:
* {{icon|trade power}} {{green|+10}} Trade power
* {{icon|naval forcelimit}} {{green|+1}} Naval force limit

will display:

Important centers of trade[编辑源代码]

Important centers of trade provide: