Template:GGST-VersionCheck: Difference between revisions

Template page
No edit summary
m (add a note to editors on how this is NOT "Battle Version" but rather "Game Version")
Line 11: Line 11:
'''<nowiki>{{GGST-VersionCheck|}}</nowiki>''' => {{GGST-VersionCheck|}}
'''<nowiki>{{GGST-VersionCheck|}}</nowiki>''' => {{GGST-VersionCheck|}}


'''<nowiki>{{GGST-VersionCheck|2.03}}</nowiki>''' => {{GGST-VersionCheck|2.03}}


</noinclude><includeonly>{{#if:{{{1|}}} | {{#ifexpr:{{{1}}}<1.18 |<!--  Change the number to the left here when balance patch happens
</noinclude><includeonly>{{#if:{{{1|}}} | {{#ifexpr:{{{1}}}<1.18 |<!--  Change the number to the left here when balance patch happens
old version -->{{clr|4|{{{1}}}}}<!--
old version -->{{clr|4|{{{1}}}}}<!--
not old -->| {{#ifexpr:{{{1}}}>1.99|<!--
not old -->| {{#ifexpr:{{{1}}}>1.99|<!--
"TOO new" (what?) -->{{clr|4|version {{{1}}} is not yet released!? Complain at your local wiki editor!}}<!--
"TOO new" (what?) -->{{clr|4|version {{{1}}} is not yet released!? Complain at your local wiki editor! Also do note, this versions GAME version that you find in steam patch notes, NOT the battle version you see shown under the timer in replays and combos}}<!--
actually good version here -->|{{clr|3|{{{1}}}}} }} }}<!--
actually good version here -->|{{clr|3|{{{1}}}}} }} }}<!--
unknown. Empty string that is. --> | {{clr|4|??}} }}</includeonly>
unknown. Empty string that is. --> | {{clr|4|??}} }}</includeonly>

Revision as of 21:16, 28 November 2022

A template that checks whether the version in the text is newer than the latest major balance update (1.18 at the time of writing). Useful for ensuring that the info is up to date, and seeing at a glance when it isn't

Example usage:

{{GGST-VersionCheck|1.10}} => 1.10

{{GGST-VersionCheck|1.18}} => 1.18

{{GGST-VersionCheck|1.22}} => 1.22

{{GGST-VersionCheck|}} => ??

{{GGST-VersionCheck|2.03}} => version 2.03 is not yet released!? Complain at your local wiki editor! Also do note, this versions GAME version that you find in steam patch notes, NOT the battle version you see shown under the timer in replays and combos