Template:ItemDetails/tooltipbox: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
imported>Wekhter
mNo edit summary
Line 1: Line 1:
<includeonly><table class="Infobox" style="min-width:350px;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><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>}}{{#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|}}}|<dt>Bonus</dt><dd class="wide">{{{Bonus}}}</dd>}}
{{#if:{{{Description|}}}|<tr><th>Description</th><td colspan="3">{{{Description}}}</td></tr>}}</table></includeonly>
{{#if:{{{Description|}}}|<dt>Desc</dt><dd class="wide">{{{Description}}}</dd>}}</dl></div></includeonly>

Revision as of 04:15, 27 August 2021