Template:OldStrategy: Difference between revisions
From Melvor Idle
(Use Template:CurrentVersion) |
(Add Category:Out of Date reference) |
||
Line 4: | Line 4: | ||
|style="background-color:#{{#ifeq:{{CurrentVersion}}|{{{1}}}|E8FFEB|FFE8E8}};" |{{#ifeq:{{CurrentVersion}}|{{{1}}} | |style="background-color:#{{#ifeq:{{CurrentVersion}}|{{{1}}}|E8FFEB|FFE8E8}};" |{{#ifeq:{{CurrentVersion}}|{{{1}}} | ||
|[[File:Changelog.svg|25px|link={{#var:PageLink}}]] This strategy was calculated for the current version ([[{{#var:PageLink}}|v{{{1}}}]]). | |[[File:Changelog.svg|25px|link={{#var:PageLink}}]] This strategy was calculated for the current version ([[{{#var:PageLink}}|v{{{1}}}]]). | ||
|[[File:Changelog.svg|25px|link={{#var:PageLink}}]] This strategy was calculated for [[{{#var:PageLink}}|v{{{1}}}]] and may have changed in newer updates. | |[[File:Changelog.svg|25px|link={{#var:PageLink}}]] This strategy was calculated for [[{{#var:PageLink}}|v{{{1}}}]] and may have changed in newer updates.{{#ifeq:{{{nocat}}}|true||[[Category:Out of Date]]}} | ||
}} | }} | ||
|}[[Category:V{{{1}}}]]</includeonly></onlyinclude> | |}[[Category:V{{{1}}}]]</includeonly></onlyinclude> | ||
Line 10: | Line 10: | ||
For example, {{T|OldStrategy|0.18.2}} results in the following: | For example, {{T|OldStrategy|0.18.2}} results in the following: | ||
{{OldStrategy|0.18.2}} | {{OldStrategy|0.18.2|nocat=true}} | ||
Revision as of 09:25, 25 November 2021
Usage: {{OldStrategy|Version}}
, replacing Version
with the version number.
For example, {{OldStrategy|0.18.2}}
results in the following:
This strategy was calculated for v0.18.2 and may have changed in newer updates. |
While {{OldStrategy|1.2.2}}
results in the following:
This strategy was calculated for the current version (v1.2.2). |