Difference between revisions of "Template:Current Version/doc"

From RimWorld Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
  <nowiki>{{Current Version}}</nowiki>
 
  <nowiki>{{Current Version}}</nowiki>
 
{{Current Version}}
 
{{Current Version}}
 +
 +
This is {{Current Version}} used in text.
 
   <nowiki>{{Current Version|link=1}}</nowiki>
 
   <nowiki>{{Current Version|link=1}}</nowiki>
 
{{Current Version|link=1}}
 
{{Current Version|link=1}}
 +
 +
This is {{Current Version|link=1}} used in text.
 
   <nowiki>{{Current Version|console=1}}</nowiki>
 
   <nowiki>{{Current Version|console=1}}</nowiki>
 
{{Current Version|console=1}}
 
{{Current Version|console=1}}
 +
 +
This is {{Current Version|console=1}} used in text.
 
   <nowiki>{{Current Version|link=1|console=1}}</nowiki>
 
   <nowiki>{{Current Version|link=1|console=1}}</nowiki>
 
{{Current Version|link=1|console=1}}
 
{{Current Version|link=1|console=1}}
 +
 +
This is {{Current Version|link=1|console=1}} used in text.
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[Category:Templates]]</includeonly>
 
<includeonly>[[Category:Templates]]</includeonly>

Revision as of 02:34, 3 November 2023

Outputs either a plaintext or linked copy of the Current Version Number or the Current Console Version Number

To automatically output a permanent plaintext version of the version without having to manually enter it, instead use

{{subst::Version/Current version}}

Usage

{{Current Version}}

1.5.4241

This is 1.5.4241 used in text.

 {{Current Version|link=1}}

1.5.4241

This is 1.5.4241 used in text.

 {{Current Version|console=1}}

1.23

This is 1.23 used in text.

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

1.23

This is 1.23 used in text.