Template:ItemDetails/tooltipbox: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
mNo edit summary
imported>Wekhter
mNo edit summary
Line 1: Line 1:
<includeonly><div class="Infobox Detailbox"><div class="Header">{{{Item|Peanut}}}</div><div class="HeaderImage">[[File:{{{Item|Peanut}}}.png|40px]]</div><div class="SellPrice">{{Coindisplay|{{{SellPrice|1}}}}}</div><div class="SubHeader">Details</div><dl>{{#if:{{{Level|}}}{{{Class|}}}|{{#ifexpr:{{{Level|0}}}>0|<dt>Level</dt><dd>{{{Level|1}}}</dd>}}{{#if:{{{Class|}}}|<dt>Class</dt><dd>{{#switch:{{{Class}}}|Warrior|warrior=[[File:Warrior Classicon.png|32px]]|Mage|mage=[[File:Mage Classicon.png|32px]]|Archer|archer=[[File:Archer Classicon.png|32px]]|Beginner|beginner=[[File:Journeyman Classicon.png|32px]]|All|all=[[File:Warrior Classicon.png|32px]][[File:Mage Classicon.png|32px]][[File:Archer Classicon.png|32px]][[File:Journeyman Classicon.png|32px]]}}</dd><hr class="clearfix" />}}}}{{#ifexpr:{{{WeaponPower|0}}} > 0 |<dt>W.Power</dt><dd>{{{WeaponPower}}}</dd>}}{{#ifexpr:{{{SkillPower|0}}} > 0 |<dt>S.Power</dt><dd>{{{SkillPower}}}</dd>}}{{#ifexpr:{{{UseSpeed|0}}} > 0 |<dt>Speed</dt><dd>{{{UseSpeed}}}</dd>}}{{#ifexpr:{{{STR|0}}}{{{AGI|0}}}{{{WIS|0}}}{{{LUCK|0}}} > 0 |<hr class="clearfix" /><dt>Stats</dt><dd class="wide">{{#ifexpr:{{{STR|0}}}>0|[[File:STR Staticon.png|32px]]x{{{STR}}}}} {{#ifexpr:{{{AGI|0}}}>0|[[File:AGI Staticon.png|32px]]x{{{AGI}}}}} {{#ifexpr:{{{WIS|0}}}>0|[[File:WIS Staticon.png|32px]]x{{{WIS}}}}} {{#ifexpr:{{{LUCK|0}}}>0|[[File:LUK Staticon.png|32px]]x{{{LUCK}}}}}</dd>}}{{#ifexpr:{{{Defence|0}}}{{{Upgrade|0}}}>0|{{#ifexpr:{{{Defence|0}}}>0|<dt>Defence</dt><dd>{{{Defence}}}</dd>}}{{#ifexpr:{{{Reach|0}}} > 0 |<dt>Reach</dt><dd>{{{Reach}}}</dd>}}{{#ifexpr:{{{Upgrade|0}}}>0|<dt>Slots</dt><dd>{{{Upgrade}}}</dd>}}}}{{#if:{{{MISC|}}}|<hr class="clearfix" /><dt>MISC</dt><dd class="wide">{{{MISC}}}</dd>}}{{#if:{{{Bonus|}}}|<dt>Bonus</dt><dd class="wide">{{{Bonus}}}</dd>}}
<includeonly><div class="Infobox Detailbox"><div class="Header">{{{Item|Peanut}}}</div><div class="HeaderImage">[[File:{{{Item|Peanut}}}.png|40px]]</div><div class="SellPrice">{{Coindisplay|{{{SellPrice|1}}}}}</div><div class="SubHeader">Details</div><dl>{{#if:{{{Level|}}}{{{Class|}}}|{{#ifexpr:{{{Level|0}}}>0|<dt>Level</dt><dd>{{{Level|1}}}</dd>}}{{#if:{{{Class|}}}|<dt>Class</dt><dd>{{#switch:{{{Class}}}|Warrior|warrior=[[File:Warrior Classicon.png|32px]]|Mage|mage=[[File:Mage Classicon.png|32px]]|Archer|archer=[[File:Archer Classicon.png|32px]]|Beginner|beginner=[[File:Journeyman Classicon.png|32px]]|All|all=[[File:Warrior Classicon.png|32px]][[File:Mage Classicon.png|32px]][[File:Archer Classicon.png|32px]][[File:Journeyman Classicon.png|32px]]}}</dd>}}}}{{#ifexpr:{{{WeaponPower|0}}} > 0 |<dt>W.Power</dt><dd>{{{WeaponPower}}}</dd>}}{{#ifexpr:{{{SkillPower|0}}} > 0 |<dt>S.Power</dt><dd>{{{SkillPower}}}</dd>}}{{#ifexpr:{{{UseSpeed|0}}} > 0 |<dt>Speed</dt><dd>{{{UseSpeed}}}</dd>}}{{#ifexpr:{{{STR|0}}}{{{AGI|0}}}{{{WIS|0}}}{{{LUCK|0}}} > 0 |<hr class="clearfix" /><dt>Stats</dt><dd class="wide">{{#ifexpr:{{{STR|0}}}>0|[[File:STR Staticon.png|32px]]x{{{STR}}}}} {{#ifexpr:{{{AGI|0}}}>0|[[File:AGI Staticon.png|32px]]x{{{AGI}}}}} {{#ifexpr:{{{WIS|0}}}>0|[[File:WIS Staticon.png|32px]]x{{{WIS}}}}} {{#ifexpr:{{{LUCK|0}}}>0|[[File:LUK Staticon.png|32px]]x{{{LUCK}}}}}</dd><hr class="clearfix" />}}{{#ifexpr:{{{Defence|0}}}{{{Upgrade|0}}}>0|{{#ifexpr:{{{Defence|0}}}>0|<dt>Defence</dt><dd>{{{Defence}}}</dd>}}{{#ifexpr:{{{Reach|0}}} > 0 |<dt>Reach</dt><dd>{{{Reach}}}</dd>}}{{#ifexpr:{{{Upgrade|0}}}>0|<dt>Slots</dt><dd>{{{Upgrade}}}</dd>}}}}{{#if:{{{MISC|}}}|<hr class="clearfix" /><dt>MISC</dt><dd class="wide">{{{MISC}}}</dd>}}{{#if:{{{Bonus|}}}|<dt>Bonus</dt><dd class="wide">{{{Bonus}}}</dd>}}
{{#if:{{{Description|}}}|<dt>Description</dt><dd class="wide">{{{Description}}}</dd>}}</dl></div></includeonly>
{{#if:{{{Description|}}}|<dt>Description</dt><dd class="wide">{{{Description}}}</dd>}}</dl></div></includeonly>

Revision as of 04:21, 27 August 2021