Difference between revisions of "Template:Asof"

From RimWorld Wiki
Jump to navigation Jump to search
(Creating template so we can easily update the verbiage we use when we talk about changes relative to a version number.)
 
m (Switching to #ifeq:)
Line 4: Line 4:
 
</noinclude>
 
</noinclude>
  
As of {{#if: {{{1}}}=A14|Alpha 14 (15 July 2016)|some other date}}
+
As of {{#ifeq:{{{1}}}|A14|Alpha 14 (15 July 2016)|some other date}} ...

Revision as of 14:10, 15 July 2016

Description

This template is an attempt to standardize inline statements discussing changes implemented by newer versions of the game. By using this template, we're able to instantly change the word on all pages that use it through the magic of transclusion. The template also provides a handy link to the version page without having to memorize version numbers.

Syntax

{{asof|Version}} followed by a description of what has changed. There is no length limit.

Usage

Use this template any time you are referencing changes or additions that happened in a recent version of the game. This allows users who are using modpacks and older vanilla copies to know whether or not a recent change impacts them and, if not, what specifics apply to their version.

Samples

Example 1

This code:

{{Asof|0.14.1234}} projectiles fired by hunting colonists no longer intercept random targets.

produces the following result:


As of some other date ... projectiles fired by hunting colonists no longer intercept random targets.

Example 2

This code:

{{Asof|A10}} colonists with the Animal Handler work type will now interact with animals.

produces the following result:


As of some other date ... colonists with the Animal Handler work type will now interact with animals.


As of some other date ...