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><nowiki><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></nowiki></includeonly>
<includeonly>&lt;span class='Infobox Detailbox'&gt;&lt;span class='Header'&gt;{{{Item|Peanut}}}&lt;/span&gt;&lt;span class='HeaderImage'&gt;[[File:{{{Item|Peanut}}}.png|40px|link=]]&lt;/span&gt;{{#if:{{{SellPrice|}}}|&lt;span class='SellPrice'&gt;{{Coindisplay|{{{SellPrice|1}}}}}&lt;/span&gt;}}&lt;span class='SubHeader'&gt;{{{Type|Details}}}&lt;/span&gt;&lt;span class='dl'&gt;{{#ifexpr:{{{Level|0}}}&gt;0|&lt;span class='dt'&gt;Level&lt;/span&gt;&lt;span class='dd'&gt;{{{Level|1}}}&lt;/span&gt;}}{{#if:{{{Class|}}}|&lt;span class='dt'&gt;Class&lt;/span&gt;&lt;span class='dd'&gt;{{#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}}&lt;/span&gt;}}{{#ifexpr:{{{WeaponPower|0}}}&gt;0|&lt;span class='dt'&gt;W.Power&lt;/span&gt;&lt;span class='dd'&gt;{{{WeaponPower}}}&lt;/span&gt;}}{{#ifexpr:{{{SkillPower|0}}}&gt;0|&lt;span class='dt'&gt;S.Power&lt;/span&gt;&lt;span class='dd'&gt;{{{SkillPower}}}&lt;/span&gt;}}{{#ifexpr:{{{UseSpeed|0}}}&gt;0|&lt;span class='dt'&gt;Speed&lt;/span&gt;&lt;span class='dd'&gt;{{{UseSpeed}}}&lt;/span&gt;}}{{#ifexpr:{{{STR|0}}}{{{AGI|0}}}{{{WIS|0}}}{{{LUCK|0}}} &gt; 0 |&lt;span class='clearfix'&gt;&lt;/span&gt;&lt;span class='dt'&gt;Stats&lt;/span&gt;&lt;span class='dd wide'&gt;{{#ifexpr:{{{STR|0}}}&gt;0|[[File:STR Staticon.png|24px|link=]]x{{{STR}}}}} {{#ifexpr:{{{AGI|0}}}&gt;0|[[File:AGI Staticon.png|24px|link=]]x{{{AGI}}}}} {{#ifexpr:{{{WIS|0}}}&gt;0|[[File:WIS Staticon.png|24px|link=]]x{{{WIS}}}}} {{#ifexpr:{{{LUCK|0}}}&gt;0|[[File:LUK Staticon.png|24px|link=]]x{{{LUCK}}}}}&lt;/span&gt;&lt;span class='clearfix'&gt;&lt;/span&gt;}}{{#ifexpr:{{{Defence|0}}}&gt;0|&lt;span class='dt'&gt;Def&lt;/span&gt;&lt;span class='dd'&gt;{{{Defence}}}&lt;/span&gt;}}{{#ifexpr:{{{Reach|0}}}&gt;0|&lt;span class='dt'&gt;Reach&lt;/span&gt;&lt;span class='dd'&gt;{{{Reach}}}&lt;/span&gt;}}{{#ifexpr:{{{Upgrade|0}}}&gt;0|&lt;span class='dt'&gt;Slots&lt;/span&gt;&lt;span class='dd'&gt;{{{Upgrade}}}&lt;/span&gt;}}{{#if:{{{MISC|}}}|&lt;span class='clearfix'&gt;&lt;/span&gt;&lt;span class='dt'&gt;Misc&lt;/span&gt;&lt;span class='dd wide'&gt;{{{MISC}}}&lt;/span&gt;}}{{#if:{{{MISC2|}}}|&lt;span class='clearfix'&gt;&lt;/span&gt;&lt;span class='dt'&gt;Misc2&lt;/span&gt;&lt;span class='dd wide'&gt;{{{MISC2}}}&lt;/span&gt;}}{{#if:{{{Bonus|}}}|&lt;span class='clearfix'&gt;&lt;/span&gt;&lt;span class='dt'&gt;Bonus&lt;/span&gt;&lt;span class='dd wide'&gt;{{{Bonus}}}&lt;/span&gt;}}{{#if:{{{Description|}}}|&lt;span class='clearfix'&gt;&lt;/span&gt;&lt;span class='dt'&gt;Desc&lt;/span&gt;&lt;span class='dd wide'&gt;{{{Description}}}&lt;/span&gt;}}&lt;/span&gt;&lt;/span&gt;</includeonly>

Revision as of 04:39, 28 October 2021