Template:ItemDetails/tooltipbox: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
mNo edit summary
imported>Wekhter
m (Undo revision 36442 by Wekhter (talk))
Line 1: Line 1:
<includeonly>&lt;span class='Infobox Detailbox'&gt;&lt;span class='Header'&gt;{{{Item|Peanut}}}&lt;/span&gt;&lt;span class='HeaderImage'&gt;&lt;img src='{{filepath:{{{Item|Peanut}}}.png|nowiki}}'&gt;&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;dd class="wide"&gt;{{#ifexpr:{{{STR|0}}}&gt;0|STRx{{{STR}}}}} {{#ifexpr:{{{AGI|0}}}&gt;0|AGIx{{{AGI}}}}} {{#ifexpr:{{{WIS|0}}}&gt;0|WISx{{{WIS}}}}} {{#ifexpr:{{{LUCK|0}}}&gt;0|LUKx{{{LUCK}}}}}&lt;/dd&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>
<includeonly>&lt;span class='Infobox Detailbox'&gt;&lt;span class='Header'&gt;{{{Item|Peanut}}}&lt;/span&gt;&lt;span class='HeaderImage'&gt;&lt;img src='{{filepath:{{{Item|Peanut}}}.png|nowiki}}'&gt;&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 17:43, 28 October 2021