Template:Talent: Difference between revisions
From IdleOn MMO Wiki
imported>Kiokurashi No edit summary |
imported>Kiokurashi No edit summary |
||
Line 3: | Line 3: | ||
<div style='display:inline;'>[[File:{{{name}}}.png]]</div> | <div style='display:inline;'>[[File:{{{name}}}.png]]</div> | ||
<div class='valInput' style='display:inline;'></div> | <div class='valInput' style='display:inline;'></div> | ||
<div>{{#if:{{{manacost|}}}|Mana Cost: <span style='color:#FF4500;'>'''{{{manacost}}}'''</span> }}{{#if:{{{actiontime|}}}|Action Time: <span style='color:orangered;'>'''{{{actiontime}}}'''</span> }}{{#if:{{{cooldown|}}}|Cooldown: {{#vardefine:h|{{#expr:floor({{{cooldown}}} / 3600)}}}}{{#vardefine:m|{{#expr:floor(({{{cooldown}}} - {{#var:h}} * 3600) / 60)}}}}{{#vardefine:s|{{#expr:(({{{cooldown}}} - {{#var:h}} * 3600) - {{#var:m}} * 60)}}}}{{#ifexpr:{{#var:h}} > 0|<span style='color:orangered;'>'''{{#var:h}}'''</span> Hours }}{{#ifexpr:{{#var:m}} > 0|<span style='color:orangered;'>'''{{#var:m}}'''</span> Minutes }}{{#ifexpr:{{#var:s}} > 0|<span style='color:orangered;'>'''{{#var:s}}'''</span> Seconds}}}}</div> | <div>{{#if:{{{manacost|}}}|Mana Cost: <span style='color:#FF4500;'>'''{{{manacost}}}'''</span> }}{{#if:{{{actiontime|}}}|Action Time: <span style='color:orangered;'>'''{{{actiontime}}}'''</span> }}{{#if:{{{cooldown|}}}|<br />Cooldown: {{#vardefine:h|{{#expr:floor({{{cooldown}}} / 3600)}}}}{{#vardefine:m|{{#expr:floor(({{{cooldown}}} - {{#var:h}} * 3600) / 60)}}}}{{#vardefine:s|{{#expr:(({{{cooldown}}} - {{#var:h}} * 3600) - {{#var:m}} * 60)}}}}{{#ifexpr:{{#var:h}} > 0|<span style='color:orangered;'>'''{{#var:h}}'''</span> Hours }}{{#ifexpr:{{#var:m}} > 0|<span style='color:orangered;'>'''{{#var:m}}'''</span> Minutes }}{{#ifexpr:{{#var:s}} > 0|<span style='color:orangered;'>'''{{#var:s}}'''</span> Seconds}}}}</div> | ||
<div style='display:block;margin-top:1em;'>{{#var:t2}}</div></div></includeonly> | <div style='display:block;margin-top:1em;'>{{#var:t2}}</div></div></includeonly> | ||
<noinclude><pre> | <noinclude><pre> |
Revision as of 20:20, 6 July 2021
{{Talent |name= |parentTab= |textArr= |form1= }}