Difference between revisions of "Template:Asof"

From RimWorld Wiki
Jump to navigation Jump to search
m
(category)
 
(17 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly><!--
+
<includeonly>As of version [[Version/{{#vardefineecho:version | {{#switch: {{{1|}}}
-->As of <!--
+
| #default = {{{1|}}}
-->{{#ifeq: {{{1|}}} | A14 | [[Version/0.14.x|Alpha 14]] (15 July 2016)}}<!--
+
| A17 | Alpha 17 = 0.17.1546
-->{{#ifeq: {{{1|}}} | A13 | [[Version/0.13.1135|Alpha 13]] (15 July 2016)}}<!--
+
| A16 | Alpha 16 = 0.16.1393
-->{{#ifeq: {{{1|}}} | A12 | [[Version/0.12.906|Alpha 12]] (15 July 2016)}}<!--
+
| A15C | Alpha 15C = 0.15.1284
-->{{#ifeq: {{{1|}}} | A11 | [[Version/0.11.877|Alpha 11]] (15 July 2016)}}<!--
+
| A15B | Alpha 15B = 0.15.1280
-->{{#ifeq: {{{1|}}} | A10 | [[Version/0.10.785|Alpha 10]] (15 July 2016)}}<!--
+
| A15 | Alpha 15 = 0.15.1279
-->{{#ifeq: {{{1|}}} | A9 | [[Version/0.9.722|Alpha 9]] (15 July 2016)}}<!--
+
| A14D | Alpha 14D = 0.14.1241
-->{{#ifeq: {{{1|}}} | A8 | [[Version/0.8.657|Alpha 8]] (15 July 2016)}}<!--
+
| A14C | Alpha 14C = 0.14.1238
-->{{#ifeq: {{{1|}}} | A7 | [[Version/0.7.581|Alpha 7]] (15 July 2016)}}<!--
+
| A14B | Alpha 14B = 0.14.1236
-->{{#ifeq: {{{1|}}} | A6 | [[Version/0.6.532|Alpha 6]] (15 July 2016)}}<!--
+
| A14 | Alpha 14 = 0.14.1234
-->{{#ifeq: {{{1|}}} | A5 | [[Version/0.5.492|Alpha 5]] (15 July 2016)}}<!--
+
| A13 | Alpha 13 = 0.13.1135
-->{{#ifeq: {{{1|}}} | A4 | [[Version/0.4.460|Alpha 4]] (15 July 2016)}}<!--
+
| A12 | Alpha 12 = 0.12.906
-->{{#ifeq: {{{1|}}} | A3 | [[Version/0.3.410|Alpha 3]] (15 July 2016)}}<!--
+
| A11 | Alpha 11 = 0.11.877
-->{{#ifeq: {{{1|}}} | A2 | [[Version/0.2.363|Alpha 2]] (15 July 2016)}}<!--
+
| A10 | Alpha 10 = 0.10.785
-->{{#ifeq: {{{1|}}} | A1 | [[Version/0.1.334|Alpha 1]] (15 July 2016)}}<!--
+
| A9 | Alpha 9 = 0.9.722
-->{{#ifeq: {{{1|}}} | PA1 | [[Version/0.0.232|Pre-Alpha 1]] (15 July 2016)}}<!--
+
| A8 | Alpha 8 = 0.8.657
-->,<!--
+
| A7 | Alpha 7 = 0.7.581
--></includeonly>
+
| A6 | Alpha 6 = 0.6.532
<noinclude>
+
| A5D | Alpha 5D = 0.5.496B
{{{{BASEPAGENAME}}/doc}}
+
| A5C | Alpha 5C = 0.5.496
[[Category:Templates]]
+
| A5B | Alpha 5B = 0.5.492B
 +
| A5 | Alpha 5 = 0.5.492
 +
| A4 | Alpha 4 = 0.4.460
 +
| A3 | Alpha 3 = 0.3.410
 +
| A2 | Alpha 2 = 0.2.363
 +
| A1 | Alpha 1 = 0.1.334
 +
| PAB2 | Pre-Alpha Backer 2 = 0.0.254B
 +
| PAB1 | Pre-Alpha Backer 1 = 0.0.250
 +
| PAPR2 | Pre-Alpha Press Release 2 = 0.0.245
 +
| PAPR1 | Pre-Alpha Press Release 1 = 0.0.232
 +
}} }}|{{#var:version}}]] ({{Q | Version/{{#var:version}} | Release Date }})</includeonly><noinclude>
 +
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 23:13, 25 April 2023

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

Description[edit]

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[edit]

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

Usage[edit]

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[edit]

Example 1[edit]

This code:

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

produces the following result:

As of version 0.14.1234 (15 July 2016) projectiles fired by hunting colonists no longer intercept random targets.

Example 2[edit]

This code:

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

produces the following result:

As of version 0.10.785 (23 April 2015) colonists with the Animal Handler work type will now interact with animals.