Difference between revisions of "Template:Current"

From Mystcraft
Jump to: navigation, search
Line 3: Line 3:
 
==Usage==
 
==Usage==
  
<pre><nowiki>Example.{{current}}</nowiki></pre>
+
<pre><nowiki>Example.{{subst:current}}</nowiki></pre>
  
 
gives
 
gives
  
  Example.{{current}}
+
  Example.{{version|{{current/version}}}}
 +
 
 +
If using this for tagging the page with the current version, be sure to use '''subst''' (substitution) as above.  This will replace the output of the template with '''<nowiki>{{subst:current}}</nowiki>''' with '''{{version|{{current/version}}}}'''.
  
 
[[category:Version {{current/version}}]][[Category:Version templates]]
 
[[category:Version {{current/version}}]][[Category:Version templates]]
 
</noinclude>
 
</noinclude>

Revision as of 06:42, 29 July 2015

Last updated for 0.13.4.03

Usage

Example.{{subst:current}}

gives

Example.v0.13.4.03

If using this for tagging the page with the current version, be sure to use subst (substitution) as above. This will replace the output of the template with {{subst:current}} with v0.13.4.03.