Difference between revisions of "Template:Version"

From Crusader Kings II Wiki
Jump to navigation Jump to search
m (Text replace - "Category:Template" to "Category:Templates")
 
(Changed phrasing)
 
(43 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly><div class="boilerplate metadata" style="float:right; clear:both; width:23em; background-color:#fffff0; border:1px solid #aaa; padding:0 0.5em; margin:5px 0px 5px 5px; font-size:80%;">
+
<div class="eu4box metadata ambox ambox-content mbox-text" style="float:right; clear:right; width:330px; font-size:80%;">
{{#Switch: {{{1}}}  
+
{{#Switch: "{{{1}}}"
   | Time = This article's contents are [[Category:Timeless]] [[:Category:Timeless|timeless]] and true to any version of the game.
+
   | "Timeless" = This article is [[:Category:Timeless|timeless]] and should be accurate for any version of the game.
   | #Default = This article is regarded as [[Template:Version|accurate]] for the following versions of Victoria II:<BR>
+
   | "3.3" = This article has been verified for the current [[Project:Versioning|version]] ({{{1}}}) of the game.
* Vanilla Victoria 2 - '''{{{1|Unknown}}}''' {{#Switch: {{{1}}}
+
  | #Default = Please help with verifying or updating older sections of this article.<br/>At least some were last verified for [[Project:Versioning|version]] {{{1|unknown}}}.<includeonly>[[Category:Potentially outdated]]</includeonly>
      | 1.3 = (Latest Version)
 
      | #Default = [[Category:Obsolete]] ([[:Category:Obsolete|Obsolete]])
 
 
}}
 
}}
* A House Divided - '''{{{2|Unknown}}}''' {{#Switch: {{{2}}}
+
</div><includeonly>[[Category:{{{1|Unknown version}}}]]</includeonly><noinclude>
      | 2.31 = (Latest Version)
+
{{Template doc}}
      | #Default = [[Category:Obsolete]] ([[:Category:Obsolete|Obsolete]])
 
}}
 
* Heart of Darkness - '''{{{3|Unknown}}}''' {{#Switch: {{{3}}}
 
      | 3.01 = (Latest Version)
 
      | #Default = [[Category:Obsolete]] ([[:Category:Obsolete|Obsolete]])
 
}}}}
 
</div></includeonly>
 
<noinclude>{{Template doc}}
 
 
<!-- Add metadata to the /doc subpage, not here - thanks! -->
 
<!-- Add metadata to the /doc subpage, not here - thanks! -->
[[Category:Templates]]
+
[[Category:Versioning templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 20:44, 23 January 2020

[view] [edit]Template-info.png Template documentation

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

Usage

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

{{Version|X}}

Substitute the value for X.

Parameters

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

Parameter Explanation
Expansion Which expansion has it been updated for

Values

The above parameters can have the following values:

Parameter Explanation
(expansion) The expansion for which this article has been written (for example Legacy of Rome. or the Old Gods)
Timeless For timeless articles.

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

Effects

Updating This Template

Message Meneth and tell him to stop being lazy.