Template:V: Difference between revisions

Added auto version as separate from currentversion
(Added auto version as separate from currentversion)
Line 1: Line 1:
<onlyinclude>{{#vardefine:Version|{{{1|{{CurrentVersion}}}}}}}<includeonly><!--
<onlyinclude>{{#vardefine:Version|{{{1|{{AutoVersion}}}}}}}<includeonly><!--
-->{| class="wikitable" style="float:right; width:250px; margin-left:10px;"
-->{| class="wikitable" style="float:right; width:250px; margin-left:10px;"
|-
|-
Line 9: Line 9:
New method of doing version checks that only requires a single update to handle things. Syntax is simply {{T|V|0.17.0}} or similar. To change the most recent version, just edit the template.
New method of doing version checks that only requires a single update to handle things. Syntax is simply {{T|V|0.17.0}} or similar. To change the most recent version, just edit the template.


Calling the template without an argument as {{T|V}} will automatically fill in the current version. The template should only be used without arguments on pages that are automatically populated with data via Lua.
Calling the template without an argument as {{T|V}} will automatically fill in the auto version (as defined in [[Template:AutoVersion]]). The template should only be used without arguments on pages that are automatically populated with data via Lua.