Difference between revisions of "Template:Version/doc"

From Europa Universalis 4 Wiki
Jump to navigation Jump to search
m (1 revision: Import from the V2 wiki)
m (1 revision: Templates imported from the V2 Wiki)
(No difference)

Revision as of 17:01, 23 April 2013

This is the documentation page for Template:Version.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.

Version can be used to indicate if information in an article applies to specific versions of Victoria II.


This infobox may be added by copy-pasting the template as shown below into an article.


Substitute the value for X.


The template has currently been set up to handle the following versions:

Parameter Explanation
Victoria II Base game Accuracy with regards to the base game of Victoria II (no expansion installed)
Victoria II : A House Divided Accuracy with regards to that expansion of Victoria II : A House Divided.
Victoria II : Heart of Darkness Accuracy with regards to that expansion of Victoria II : Heart of Darkness.


The above parameters can have the following values:

Parameter Explanation
(version number) The version number for which this article has been written (for example 1.3. or 2.2)
Time For timeless articles.

The default value is Unknown if no other values have been set for a given version/parameter.


Updating This Template

Add the new version number in the #Switch to the new version:

<includeonly><div class="boilerplate metadata" style="float:right; clear:both; width:23em; background-color:#fffff0; border:1px solid #aaa; padding:0 0.5em; margin:0.5em; font-size:80%;">
{{#Switch: {{{1}}} 
   | Time = This article's contents are [[Category:Timeless]] [[:Category:Timeless|timeless]] and true to any version of the game.
   | #Default = This article is regarded as [[Template:Version|accurate]] for the following versions of Vicky2:<BR>
* Vanilla: {{{1|Unknown}}} {{#Switch: {{{1}}}
      | 1.0 = [[Category:Current Version]] ([[:Category:Current Version|Current]]) 
<!-- Add it here in the fashion of the previous entries -->
      | #Default = [[Category:Obsolete]] ([[:Category:Obsolete|Obsolete]])

If an expansion comes out, add another line similar to this line, except replace "vanilla" with the expansion name.



Will display the version status you can see to the right: