Difference between revisions of "Template:Version"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<div style="border:1px solid black; padding:3px; float:right; clear:right; width:330px; font-size:80%;">
 
<div style="border:1px solid black; padding:3px; float:right; clear:right; width:330px; font-size:80%;">
 
{{#Switch: "{{{1}}}"
 
{{#Switch: "{{{1}}}"
   | "Timeless" = This article is [[:Category:Timeless|timeless]] and should be accurate for any version of the game.
+
   | "Timeless" = This article is [[:Category:Timeless|timeless]] and should be accurate for any version of the game.<includeonly>[[Category:Timeless]]</includeonly>
   | "A17" = This article is considered ''accurate'' for the current version ({{{1}}}) of the game.<br />
+
  | "Alpha 17" = This article is considered ''accurate'' for the current version ({{{1}}}) of the game.<includeonly>[[Category:Alpha 17]]</includeonly>
   | "0.17.1557" = This article is considered ''accurate'' for the current version ({{{1}}}) of the game.<br />
+
   | "A17" = This article is considered ''accurate'' for the current version ({{{1}}}) of the game.<includeonly>[[Category:Alpha 17]]</includeonly>
 +
   | "0.17.1557" = This article is considered ''accurate'' for the current version ({{{1}}}) of the game.<includeonly>[[Category:Alpha 17]]</includeonly>
 
   | #Default = This article may contain outdated information that is inaccurate for the current version of the game. It was last updated for  
 
   | #Default = This article may contain outdated information that is inaccurate for the current version of the game. It was last updated for  
 
{{{1|an unknown version}}}.<includeonly>[[Category:Potentially outdated]]</includeonly>
 
{{{1|an unknown version}}}.<includeonly>[[Category:Potentially outdated]]</includeonly>
 
}}
 
}}
</div><includeonly>[[Category:{{{1|Unknown version}}}]]</includeonly><noinclude>
+
</div><noinclude>
 
{{Template doc}}
 
{{Template doc}}
 
<!-- Add metadata to the /doc subpage, not here - thanks! -->
 
<!-- Add metadata to the /doc subpage, not here - thanks! -->
 
</noinclude>
 
</noinclude>

Revision as of 17:59, 23 June 2017

This article may contain outdated information that is inaccurate for the current version of the game. It was last updated for an unknown version.

Documentation icon Template documentation[view] [edit] [history] [purge]

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

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
Patch Which major patch has it been updated for

Values

The above parameters can have the following values:

Parameter Explanation
(patch) The major patch for which this article has been written (for example 1.2 or 1.6)
Timeless For timeless articles.

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

Effects

  • Puts the including page into Category:Timeless for articles that don't have time sensitive content or puts it into Category:Potentially outdated if it is not up to date.