Difference between revisions of "Template:Current"

From Mystcraft
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{{version|{{subst:current/version}}}}</includeonly><noinclude>
+
{{version|{{<includeonly>subst:</includeonly>current/version}}}}<noinclude>
 +
 
 +
 
 
Last updated for {{current/version}}
 
Last updated for {{current/version}}
 
==Usage==
 
==Usage==
Line 7: Line 9:
 
gives
 
gives
  
  Example.{{version|0.12.2.00}}
+
  Example.{{current}}
 +
 
 +
Note that using '''subst''' changes the saved code to (ex.):
 +
<nowiki>Example.{{version|0.12.2.00}}</nowiki>
  
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|0.12.2.00}}'''.
+
If using this for tagging the page with the current version, be sure to use '''subst''' (substitution) as above.
  
 
[[category:Version {{current/version}}]][[Category:Version templates]]
 
[[category:Version {{current/version}}]][[Category:Version templates]]
 
</noinclude>
 
</noinclude>

Revision as of 06:57, 29 July 2015

v0.13.4.03


Last updated for 0.13.4.03

Usage

Example.{{subst:current}}

gives

Example.v{{subst:current/version}}

Note that using subst changes the saved code to (ex.):

Example.{{version|0.12.2.00}}

If using this for tagging the page with the current version, be sure to use subst (substitution) as above.