Template:Talent: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
m (Reverted edits by BHY4A (talk) to last revision by Kiokurashi)
Tag: Rollback
 
(21 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly><div class='skillDiv' data-x1='{{{x1}}}' data-x2='{{{x2}}}' data-y1='{{{y1}}}' data-y2='{{{y2}}}' data-func1='{{{form1}}}' data-func2='{{{form2}}}' data-max='{{{max|200}}}'>
<includeonly><div class='skillDiv GenericChild' data-x1='{{{x1}}}' data-x2='{{{x2}}}' data-y1='{{{y1}}}' data-y2='{{{y2}}}' data-func1='{{{form1}}}' data-func2='{{{form2}}}' data-max='9999'>
<h2>{{{name}}}</h2>{{#vardefine:t1|{{#replace:{{{textArr}}}|(Table 1)|<div class='result1' style = 'display:inline-block'></div>}}}}{{#vardefine:t2|{{#replace:{{#var:t1}}|(Table 2)|<div class='result2' style = 'display:inline-block'></div>}}}}
<h3>{{{name}}}</h3>{{#vardefine:t1|{{#replace:{{{textArr}}}|(Table 1)|<span class='result1' style = 'color:#358510;font-weight:bold;'></span>}}}}{{#vardefine:t2|{{#replace:{{#var:t1}}|(Table 2)|<span class='result2' style ='color:#358510;font-weight:bold;'></span>}}}}
<div style='display:inline;'>[[File:{{{name}}}.png]]</div>
[[File:{{{name}}}.png]] <span class='valInput'></span>
<div class='valInput' style='display:inline;'></div>
<p>{{#var:t2}}</p>{{#if:{{{notes|}}}|<p>{{{notes}}}</p>}}
<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>
<p>{{#if:{{{manacost|}}}|Mana Cost: <span style='color:#358510;'>'''{{{manacost}}}'''</span> }}{{#if:{{{actiontime|}}}|<br />Action Time: <span style='color:#358510;'>'''{{{actiontime}}} '''</span>Seconds }}{{#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:#358510;'>'''{{#var:h}} '''</span>Hour{{#ifexpr:{{#var:h}} > 1|s}} }}{{#ifexpr:{{#var:m}} > 0|<span style='color:#358510;'>'''{{#var:m}} '''</span>Minute{{#ifexpr:{{#var:m}} > 1|s}} }}{{#ifexpr:{{#var:s}} > 0|<span style='color:#358510;'>'''{{#var:s}} '''</span>Second{{#ifexpr:{{#var:s}} > 1|s}}}}}}</p></div></includeonly>
<div style='display:block;margin-top:1em;'>{{#var:t2}}</div></div></includeonly>
<noinclude><pre>
<noinclude><pre>
{{Talent
{{Talent

Latest revision as of 18:50, 4 November 2024

{{Talent
|name=
|parentTab=
|textArr=
|form1=
}}