Anonymous

Template:V: Difference between revisions

From Melvor Idle
no edit summary
(changed text from "This page is out of date" to "This page was last updated for")
No edit summary
Line 5: Line 5:
|This page is up to date ([[v{{{1|{{AutoVersion}}}}}]]).
|This page is up to date ([[v{{{1|{{AutoVersion}}}}}]]).
|<span style="color:red;">This page was last updated for ([[v{{{1|{{AutoVersion}}}}}]]).</span>[[Category:{{#ifeq:{{{1|}}}||Out of Date (Auto)|Out of Date}}]]}}[[Category:v{{{1|{{AutoVersion}}}}}]]
|<span style="color:red;">This page was last updated for ([[v{{{1|{{AutoVersion}}}}}]]).</span>[[Category:{{#ifeq:{{{1|}}}||Out of Date (Auto)|Out of Date}}]]}}[[Category:v{{{1|{{AutoVersion}}}}}]]
|}</includeonly></onlyinclude>
|}</includeonly></onlyinclude><noinclude>{{/doc}}[[Category:Maintenance Templates]]<noinclude>
{{V}}
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 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.
2,875

edits