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"><span class="Header">{{{Item|Peanut}}}</span><span class="HeaderImage">[[File:{{{Item|Peanut}}}.png|40px|link=]]</span>{{#if:{{{SellPrice|}}}|<span class="SellPrice">{{Coindisplay|{{{SellPrice|1}}}}}</span>}}<span class="SubHeader">{{{Type|Details}}}</span><span class="dl">{{#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|24px|link=]]|Mage|mage=[[File:Mage Classicon.png|24px|link=]]|Archer|archer=[[File:Archer Classicon.png|24px|link=]]|Beginner|beginner=[[File:Journeyman Classicon.png|24px|link=]]|All|all=All}}</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 |<span class="clearfix"></span><span class="dt">Stats</span><span class="dd wide">{{#ifexpr:{{{STR|0}}}>0|[[File:STR Staticon.png|24px|link=]]x{{{STR}}}}} {{#ifexpr:{{{AGI|0}}}>0|[[File:AGI Staticon.png|24px|link=]]x{{{AGI}}}}} {{#ifexpr:{{{WIS|0}}}>0|[[File:WIS Staticon.png|24px|link=]]x{{{WIS}}}}} {{#ifexpr:{{{LUCK|0}}}>0|[[File:LUK Staticon.png|24px|link=]]x{{{LUCK}}}}}</span><span class="clearfix"></span>}}{{#ifexpr:{{{Defence|0}}}>0|<span class="dt">Def</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|}}}|<span class="clearfix"></span><span class="dt">Misc</span><span class="dd wide">{{{MISC}}}</span>}}{{#if:{{{MISC2|}}}|<span class="clearfix"></span><span class="dt">Misc2</span><span class="dd wide">{{{MISC2}}}</span>}}{{#if:{{{Bonus|}}}|<span class="clearfix"></span><span class="dt">Bonus</span><span class="dd wide">{{{Bonus}}}</span>}}{{#if:{{{Description|}}}|<span class="clearfix"></span><span class="dt">Desc</span><span class="dd wide">{{{Description}}}</span>}}</span></span></includeonly>
<includeonly><div class="Infobox Detailbox"><b class="Header">{{{Item|Peanut}}}</b><i class="HeaderImage">[[File:{{{Item|Peanut}}}.png|40px|link=]]</i>{{#if:{{{SellPrice|}}}|<span class="SellPrice">{{Coindisplay|{{{SellPrice|1}}}}}</span>}}<b class="SubHeader">{{{Type|Details}}}</b><dl>{{#ifexpr:{{{Level|0}}}>0|<dt>Level</dt><dd>{{{Level|1}}}</dd>}}{{#if:{{{Class|}}}|<dt>Class</dt><dd>{{{Class|}}}</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 |<i class="clearfix"></i><dt>Stats</dt><dd class="wide">{{#ifexpr:{{{STR|0}}}>0|STRx{{{STR}}}}} {{#ifexpr:{{{AGI|0}}}>0|AGIx{{{AGI}}}}} {{#ifexpr:{{{WIS|0}}}>0|WISx{{{WIS}}}}} {{#ifexpr:{{{LUCK|0}}}>0|LUKx{{{LUCK}}}}}</dd><i class="clearfix"></i>}}{{#ifexpr:{{{Defence|0}}}>0|<dt>Def</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|}}}|<i class="clearfix"></i><dt>Misc</dt><dd class="wide">{{{MISC}}}</dd>}}{{#if:{{{MISC2|}}}|<i class="clearfix"></i><dt>Misc2</dt><dd class="wide">{{{MISC2}}}</dd>}}{{#if:{{{Bonus|}}}|<i class="clearfix"></i><dt>Bonus</dt><dd class="wide">{{{Bonus}}}</dd>}}{{#if:{{{Description|}}}|<i class="clearfix"></i><dt>Desc</dt><dd class="wide">{{{Description}}}</dd>}}</dl></div></includeonly>

Revision as of 04:12, 28 October 2021