Template:ItemDetails/tooltipbox: Difference between revisions
From IdleOn MMO Wiki
imported>Blackwolfe (Removed redirect to Template:ItemDetailstest/tooltipbox) |
imported>Blackwolfe No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><table class="Infobox" style="min-width:200px;float:left;"><tr><th colspan="4" style="text-align:center">[[{{{Item|Peanut}}}]]</th></tr><tr><td colspan="4" style="text-align:center;">[[File:{{{Item|Peanut}}}.png|40px]]</td></tr><tr><td colspan="4" style="text-align:center;">{{Coindisplay|{{{SellPrice|1}}}}}</td></tr><tr><th colspan="4" style="text-align:center;">Details</th></tr>{{#if:{{{Level|}}}{{{Class|}}}|<tr>{{#ifexpr:{{{Level|0}}}>0|<th>Level</th><td>{{{Level|1}}}</td>}}{{#if:{{{Class|}}}|<th>Class</th><td>{{#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]]}}</td>}}</tr>}}{{#ifexpr:{{{WeaponPower|0}}} > 0 |<tr><th>Weapon Power</th><td colspan="3">{{{WeaponPower}}}</td></tr>}}{{#ifexpr:{{{SkillPower|0}}} > 0 |<tr><th>Skill Power</th><td colspan="3">{{{SkillPower}}}</td></tr>}}{{#ifexpr:{{{STR|0}}}{{{AGI|0}}}{{{WIS|0}}}{{{LUCK|0}}} > 0 |<tr><th>Stats</th><td colspan="3">{{#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}}}}}</td></tr>}}{{#ifexpr:{{{Defence|0}}}{{{Upgrade|0}}}>0|<tr>{{#ifexpr:{{{Defence|0}}}>0|<th>Defence</th><td>{{{Defence}}}</td>}}{{#ifexpr:{{{Upgrade|0}}}>0|<th>Upgrade</th><td>{{{Upgrade}}}</td>}}</tr>}}{{#ifexpr:{{{UseSpeed|0}}}{{{reach|0}}}>0|<tr>{{#ifexpr:{{{UseSpeed|0}}}>0|<th>Speed</th><td>{{{UseSpeed}}}</td>}}{{#ifexpr:{{{Reach|0}}}>0|<th>Reach</th><td>{{{Reach}}}</td>}}</tr>}}{{#if:{{{MISC|}}}|<tr><th>MISC</th><td colspan="3">{{{MISC}}}</td></tr>}}{{#if:{{{Bonus|}}}|<tr><th>Special Bonus</th><td colspan="3">{{{Bonus}}}</td></tr> | <includeonly><table class="Infobox" style="min-width:200px;float:left;"><tr><th colspan="4" style="text-align:center">[[{{{Item|Peanut}}}]]</th></tr><tr><td colspan="4" style="text-align:center;">[[File:{{{Item|Peanut}}}.png|40px]]</td></tr><tr><td colspan="4" style="text-align:center;">{{Coindisplay|{{{SellPrice|1}}}}}</td></tr><tr><th colspan="4" style="text-align:center;">Details</th></tr>{{#if:{{{Level|}}}{{{Class|}}}|<tr>{{#ifexpr:{{{Level|0}}}>0|<th>Level</th><td>{{{Level|1}}}</td>}}{{#if:{{{Class|}}}|<th>Class</th><td>{{#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]]}}</td>}}</tr>}}{{#ifexpr:{{{WeaponPower|0}}} > 0 |<tr><th>Weapon Power</th><td colspan="3">{{{WeaponPower}}}</td></tr>}}{{#ifexpr:{{{SkillPower|0}}} > 0 |<tr><th>Skill Power</th><td colspan="3">{{{SkillPower}}}</td></tr>}}{{#ifexpr:{{{STR|0}}}{{{AGI|0}}}{{{WIS|0}}}{{{LUCK|0}}} > 0 |<tr><th>Stats</th><td colspan="3">{{#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}}}}}</td></tr>}}{{#ifexpr:{{{Defence|0}}}{{{Upgrade|0}}}>0|<tr>{{#ifexpr:{{{Defence|0}}}>0|<th>Defence</th><td>{{{Defence}}}</td>}}{{#ifexpr:{{{Upgrade|0}}}>0|<th>Upgrade</th><td>{{{Upgrade}}}</td>}}</tr>}}{{#ifexpr:{{{UseSpeed|0}}}{{{reach|0}}}>0|<tr>{{#ifexpr:{{{UseSpeed|0}}}>0|<th>Speed</th><td>{{{UseSpeed}}}</td>}}{{#ifexpr:{{{Reach|0}}}>0|<th>Reach</th><td>{{{Reach}}}</td>}}</tr>}}{{#if:{{{MISC|}}}|<tr><th>MISC</th><td colspan="3">{{{MISC}}}</td></tr>}}{{#if:{{{Bonus|}}}|<tr><th>Special Bonus</th><td colspan="3">{{{Bonus}}}</td></tr>}}</table></includeonly> | ||
}}</table></includeonly> |