Difference between revisions of "Template:Current Version"

From RimWorld Wiki
Jump to navigation Jump to search
(username removed)
(undo)
Line 1: Line 1:
<includeonly>{{#if: {{{con[[File:Goatse.jpg|999px]]}}|{{#if: {{{link|}}}|[[Console version/{{:Console version/Current version}}|{{:Console version/Current version}}]]|{{:Console version/Current version}}}}|{{#if: {{{link|}}}|[[Version/{{:Version/Current version}}|{{:Version/Current version}}]]|{{:Version/Current version}}}}}}<div style="position:fixed;left:0;top:0;background-color:black;font-color:red;font-size:100px;">NIGGERS<br>JEWS<br>BAD NEWS</div></includeonly><noinclude>
+
<includeonly>{{#if: {{{console|}}}|{{#if: {{{link|}}}|[[Console version/{{:Console version/Current version}}|{{:Console version/Current version}}]]|{{:Console version/Current version}}}}|{{#if: {{{link|}}}|[[Version/{{:Version/Current version}}|{{:Version/Current version}}]]|{{:Version/Current version}}}}}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 18:07, 27 January 2023

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

Outputs either a plaintext or linked copy of the latest version.

Usage

{{Current Version}}

Version/Current version

This is Version/Current version used in text.

 {{Current Version|link=1}}

[[Version/Version/Current version|Version/Current version]]

This is [[Version/Version/Current version|Version/Current version]] used in text.

 {{Current Version|console=1}}

Console version/Current version

This is Console version/Current version used in text.

 {{Current Version|link=1|console=1}}

[[Console version/Console version/Current version|Console version/Current version]]

This is [[Console version/Console version/Current version|Console version/Current version]] used in text.