Difference between revisions of "Template:Current Version"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#if: {{{link|}}}|[[{{:Version/Current version}}]]|{{:Version/Current version}}}}</includeonly><noinclude> {{Documentation}} </noinclude>")
 
Line 1: Line 1:
<includeonly>{{#if: {{{link|}}}|[[{{:Version/Current version}}]]|{{:Version/Current version}}}}</includeonly><noinclude>
+
<includeonly>{{#if: {{{link|}}}|[[Version/{{:Version/Current version}}|{{:Version/Current version}}]]|{{:Version/Current version}}}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 12:21, 14 March 2021

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}}

Version/Current version

This is Version/Current version used in text.

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

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

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