Difference between revisions of "Template:SVersion/doc"

From Hearts of Iron 2 Wiki
Jump to navigation Jump to search
m (1 revision imported: Import from EU4 Wiki)
(Examples)
 
Line 77: Line 77:
 
{{SVersion|Timeless}}
 
{{SVersion|Timeless}}
 
Important centers of trade provide:
 
Important centers of trade provide:
* {{icon|trade power}} {{green|+20}} Trade power
+
* {{green|+20}} Trade power
* {{icon|naval forcelimit}} {{green|+2}} Naval force limit (not for inland centers)
+
* {{green|+2}} Naval force limit (not for inland centers)
 
</pre>
 
</pre>
 
will display:
 
will display:
Line 84: Line 84:
 
{{SVersion|Timeless}}
 
{{SVersion|Timeless}}
 
Important centers of trade provide:
 
Important centers of trade provide:
* {{icon|trade power}} {{green|+20}} Trade power
+
* {{green|+20}} Trade power
* {{icon|naval forcelimit}} {{green|+2}} Naval force limit (not for inland centers)
+
* {{green|+2}} Naval force limit (not for inland centers)
 
| width="50%" | The following:
 
| width="50%" | The following:
 
<pre>
 
<pre>
Line 91: Line 91:
 
{{SVersion|1.6}}
 
{{SVersion|1.6}}
 
Important centers of trade provide:
 
Important centers of trade provide:
* {{icon|trade power}} {{green|+10}} Trade power
+
* {{green|+10}} Trade power
* {{icon|naval forcelimit}} {{green|+1}} Naval force limit
+
* {{green|+1}} Naval force limit
 
</pre>
 
</pre>
 
will display:
 
will display:
Line 98: Line 98:
 
{{SVersion|1.6|nocat=true}}
 
{{SVersion|1.6|nocat=true}}
 
Important centers of trade provide:
 
Important centers of trade provide:
* {{icon|trade power}} {{green|+10}} Trade power
+
* {{green|+10}} Trade power
* {{icon|naval forcelimit}} {{green|+1}} Naval force limit
+
* {{green|+1}} Naval force limit
 
|}
 
|}

Latest revision as of 16:30, 24 April 2017

This is the documentation page for Template: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 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