Template:OldStrategy: Difference between revisions
m (Coolrox95 moved page Template:Strategy0.14 to Template:OldStrategy without leaving a redirect: Changed name to reflect general version) |
(Use infobox class) |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" style=" | <onlyinclude>{{#vardefine:PageLink|{{#ifexist:v{{{1}}}|v{{{1}}}|Changelog}}}}<includeonly><!-- | ||
-->{| class="wikitable infobox" style="text-align:center;" | |||
|- | |- | ||
|[[File:Changelog.svg|25px|link= | |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}}}]]). | ||
[[Category:{{{ | |[[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> | |||
Usage: {{T|OldStrategy|Version}}, replacing <code>Version</code> with the version number. | |||
For example, {{T|OldStrategy|0.18.2}} results in the following: | |||
{{OldStrategy|0.18.2|nocat=true}} | |||
<br/><br/><br/><br/><br/>While {{T|OldStrategy|{{CurrentVersion}}}} results in the following: | |||
{{OldStrategy|{{CurrentVersion}}}} |
Latest revision as of 08:43, 11 June 2022
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). |