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><span class="Infobox Detailbox">tba</span><!--<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|}}}|<hr class="clearfix" /><dt>Bonus</dt><dd class="wide">{{{Bonus}}}</dd>}}
<includeonly><span class="Infobox Detailbox"><span class="Header">{{{Item|Peanut}}}</span><span class="HeaderImage">[[File:{{{Item|Peanut}}}.png|40px]]</span><span class="SellPrice">{{Coindisplay|{{{SellPrice|1}}}}}</span><span class="SubHeader">Details</span><span class="dl">{{#if:{{{Level|}}}{{{Class|}}}|{{#ifexpr:{{{Level|0}}}>0|<span class="dt">Level</span><span class="dd">{{{Level|1}}}</span>}}{{#if:{{{Class|}}}|<span class="dt">Class</span><span class="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]]}}</span>}}}}{{#ifexpr:{{{WeaponPower|0}}} > 0 |<span class="dt">W.Power</span><span class="dd">{{{WeaponPower}}}</span>}}{{#ifexpr:{{{SkillPower|0}}} > 0 |<span class="dt">S.Power</span><span class="dd">{{{SkillPower}}}</span>}}{{#ifexpr:{{{UseSpeed|0}}} > 0 |<span class="dt">Speed</span><span class="dd">{{{UseSpeed}}}</span>}}{{#ifexpr:{{{STR|0}}}{{{AGI|0}}}{{{WIS|0}}}{{{LUCK|0}}} > 0 |<hr class="clearfix" /><span class="dt">Stats</span><span class="dd 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}}}}}</span><hr class="clearfix" />}}{{#ifexpr:{{{Defence|0}}}{{{Upgrade|0}}}>0|{{#ifexpr:{{{Defence|0}}}>0|<span class="dt">Defence</span><span class="dd">{{{Defence}}}</span>}}{{#ifexpr:{{{Reach|0}}} > 0 |<span class="dt">Reach</span><span class="dd">{{{Reach}}}</span>}}{{#ifexpr:{{{Upgrade|0}}}>0|<span class="dt">Slots</span><span class="dd">{{{Upgrade}}}</span>}}}}{{#if:{{{MISC|}}}|<hr class="clearfix" /><span class="dt">Misc</span><span class="dd wide">{{{MISC}}}</span>}}{{#if:{{{Bonus|}}}|<hr class="clearfix" /><span class="dt">Bonus</span><span class="dd wide">{{{Bonus}}}</span>}}
{{#if:{{{Description|}}}|<hr class="clearfix" /><dt>Description</dt><dd class="wide">{{{Description}}}</dd>}}</dl></div>--></includeonly>
{{#if:{{{Description|}}}|<hr class="clearfix" /><span class="dt">Description</span><span class="dd wide">{{{Description}}}</span>}}</span></span></includeonly>

Revision as of 04:36, 27 August 2021