Template:ItemDetails/tooltipbox: Difference between revisions
From IdleOn MMO Wiki
imported>Kiokurashi No edit summary |
imported>Kiokurashi No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div class='Infobox Detailbox'><b class='Header'>{{{Item|Peanut}}}</b><i class='HeaderImage'><img src='{{filepath:{{{Item|Peanut}}}.png|nowiki}}'></i><b class='SubHeader'>{{{Type|Details}}}</b><dl>{{#if:{{{Level|}}}|<dt>Level</dt><dd>{{{Level}}}</dd>}}{{#if:{{{Class|}}}|<dt>Class</dt><dd>{{{Class}}}</dd>}}{{#if:{{{WeaponPower|}}}|<dt>W.Power</dt><dd>{{{WeaponPower}}}</dd>}}{{#if:{{{SkillPower|}}}|<dt>S.Power</dt><dd>{{{SkillPower}}}</dd>}}{{#if:{{{UseSpeed|}}}|<dt>Speed</dt><dd>{{{UseSpeed}}}</dd>}}{{#ifexpr:{{{STR|0}}}{{{AGI|0}}}{{{WIS|0}}}{{{LUCK|0}}}>0|<hr><dt>Stats</dt><dd class='wide'>{{#ifexpr:{{{STR|0}}}>0|<b class='str'>STR</b>x{{{STR}}} }} {{#ifexpr:{{{AGI|0}}}>0|<b class='agi'>AGI</b>x{{{AGI}}} }} {{#ifexpr:{{{WIS|0}}}>0|<b class='wis'>WIS</b>x{{{WIS}}} }} {{#ifexpr:{{{LUCK|0}}}>0|<b class='luk'>LUK</b>x{{{LUCK}}} }}</dd><hr>}}{{#if:{{{Defence|}}}|<dt>Def</dt><dd>{{{Defence}}}</dd>}}{{#if:{{{GreenDepth|}}}|<dt>G.Depth</dt><dd>{{{GreenDepth}}}</dd>}}{{#if:{{{YellowDepth|}}}|<dt>Y.Depth</dt><dd>{{{YellowDepth}}}</dd>}}{{#if:{{{RedDepth|}}}|<dt>R.Depth</dt><dd>{{{RedDepth}}}</dd>}}{{#if:{{{PurpleDepth|}}}|<dt>P.Depth</dt><dd>{{{PurpleDepth}}}</dd>}}{{#if:{{{ExpBonus|}}}|<dt>EXP Bonus</dt><dd>{{{ExpBonus}}}</dd>}}{{#if:{{{FishSpeed|}}}|<dt>Reel Speed</dt><dd>{{{FishSpeed}}}</dd>}}{{#if:{{{FishPower|}}}|<dt>Fish Power</dt><dd>{{{FishPower}}}</dd>}}{{#if:{{{Reach|}}}|<dt>Reach</dt><dd>{{{Reach}}}</dd>}}{{#if:{{{Upgrade|}}}|<dt>Slots</dt><dd>{{{Upgrade}}}</dd>}}{{#if:{{{MISC|}}}|<hr><dt>Misc</dt><dd class='wide'>{{{MISC}}}</dd>}}{{#if:{{{MISC2|}}}|<hr><dt>Misc2</dt><dd class='wide'>{{{MISC2}}}</dd>}}{{#if:{{{Bonus|}}}|<hr><dt>Bonus</dt><dd class='wide'>{{{Bonus}}}</dd>}}{{#if:{{{BonusRate|}}}|<hr><dt>Rate</dt><dd class='wide'>Base: {{{BonusRate}}}, Max:{{#expr:{{{BonusRate}}} * 4}}</dd>}}{{#if:{{{Description|}}}|<hr><dt>Desc</dt><dd class='wide'>{{{Description}}}</dd>}}{{#if:{{{StampMat|}}}|<hr><dt>Uses</dt><dd class='wide'>{{{StampMat}}}</dd>}}</dl></div></includeonly><noinclude>HTML entity names are used within this template to avoid parsing the contents early. The readable version is as follows: | <includeonly><div class='Infobox Detailbox'><b class='Header'>{{{Item|Peanut}}}</b><i class='HeaderImage'><img src='{{filepath:{{{Item|Peanut}}}.png|nowiki}}'></i><b class='SubHeader'>{{{Type|Details}}}</b><dl>{{#if:{{{Level|}}}|<dt>Level</dt><dd>{{{Level}}}</dd>}}{{#if:{{{Class|}}}|<dt>Class</dt><dd>{{{Class}}}</dd>}}{{#if:{{{WeaponPower|}}}|<dt>W.Power</dt><dd>{{{WeaponPower}}}</dd>}}{{#if:{{{SkillPower|}}}|<dt>S.Power</dt><dd>{{{SkillPower}}}</dd>}}{{#if:{{{UseSpeed|}}}|<dt>Speed</dt><dd>{{{UseSpeed}}}</dd>}}{{#ifexpr:{{{STR|0}}}{{{AGI|0}}}{{{WIS|0}}}{{{LUCK|0}}}>0|<hr><dt>Stats</dt><dd class='wide'>{{#ifexpr:{{{STR|0}}}>0|<b class='str'>STR</b>x{{{STR}}} }} {{#ifexpr:{{{AGI|0}}}>0|<b class='agi'>AGI</b>x{{{AGI}}} }} {{#ifexpr:{{{WIS|0}}}>0|<b class='wis'>WIS</b>x{{{WIS}}} }} {{#ifexpr:{{{LUCK|0}}}>0|<b class='luk'>LUK</b>x{{{LUCK}}} }}</dd><hr>}}{{#if:{{{Defence|}}}|<dt>Def</dt><dd>{{{Defence}}}</dd>}}{{#if:{{{GreenDepth|}}}|<dt>G.Depth</dt><dd>{{{GreenDepth}}}</dd>}}{{#if:{{{YellowDepth|}}}|<dt>Y.Depth</dt><dd>{{{YellowDepth}}}</dd>}}{{#if:{{{RedDepth|}}}|<dt>R.Depth</dt><dd>{{{RedDepth}}}</dd>}}{{#if:{{{PurpleDepth|}}}|<dt>P.Depth</dt><dd>{{{PurpleDepth}}}</dd>}}{{#if:{{{ExpBonus|}}}|<dt>EXP Bonus</dt><dd>{{{ExpBonus}}}</dd>}}{{#if:{{{FishSpeed|}}}|<dt>Reel Speed</dt><dd>{{{FishSpeed}}}</dd>}}{{#if:{{{FishPower|}}}|<dt>Fish Power</dt><dd>{{{FishPower}}}</dd>}}{{#if:{{{Reach|}}}|<dt>Reach</dt><dd>{{{Reach}}}</dd>}}{{#if:{{{Upgrade|}}}|<dt>Slots</dt><dd>{{{Upgrade}}}</dd>}}{{#if:{{{MISC|}}}|<hr><dt>Misc</dt><dd class='wide'>{{{MISC}}}</dd>}}{{#if:{{{MISC2|}}}|<hr><dt>Misc2</dt><dd class='wide'>{{{MISC2}}}</dd>}}{{#if:{{{Bonus|}}}|<hr><dt>Bonus</dt><dd class='wide'>{{{Bonus}}}</dd>}}{{#if:{{{BonusRate|}}}|<hr><dt>Rate</dt><dd class='wide'>Base: {{{BonusRate}}}, Max: {{#expr:{{{BonusRate}}} * 4}}</dd>}}{{#if:{{{Description|}}}|<hr><dt>Desc</dt><dd class='wide'>{{{Description}}}</dd>}}{{#if:{{{StampMat|}}}|<hr><dt>Uses</dt><dd class='wide'>{{{StampMat}}}</dd>}}</dl></div></includeonly><noinclude>HTML entity names are used within this template to avoid parsing the contents early. The readable version is as follows: | ||
<pre><div class='Infobox Detailbox'> | <pre><div class='Infobox Detailbox'> | ||
<b class='Header'>{{{Item|Peanut}}}</b> | <b class='Header'>{{{Item|Peanut}}}</b> | ||
Line 24: | Line 24: | ||
{{#if:{{{MISC2|}}}|<hr><dt>Misc2</dt><dd class='wide'>{{{MISC2}}}</dd>}} | {{#if:{{{MISC2|}}}|<hr><dt>Misc2</dt><dd class='wide'>{{{MISC2}}}</dd>}} | ||
{{#if:{{{Bonus|}}}|<hr><dt>Bonus</dt><dd class='wide'>{{{Bonus}}}</dd>}} | {{#if:{{{Bonus|}}}|<hr><dt>Bonus</dt><dd class='wide'>{{{Bonus}}}</dd>}} | ||
{{#if:{{{BonusRate|}}}|<hr><dt>Rate</dt><dd class='wide'>Base: {{{BonusRate}}}, Max:{{#expr:{{{BonusRate}}} * 4}}</dd>}} | {{#if:{{{BonusRate|}}}|<hr><dt>Rate</dt><dd class='wide'>Base: {{{BonusRate}}}, Max: {{#expr:{{{BonusRate}}} * 4}}</dd>}} | ||
{{#if:{{{Description|}}}|<hr><dt>Desc</dt><dd class='wide'>{{{Description}}}</dd>}} | {{#if:{{{Description|}}}|<hr><dt>Desc</dt><dd class='wide'>{{{Description}}}</dd>}} | ||
{{#if:{{{StampMat|}}}|<hr><dt>Uses</dt><dd class='wide'>{{{StampMat}}}</dd>}} | {{#if:{{{StampMat|}}}|<hr><dt>Uses</dt><dd class='wide'>{{{StampMat}}}</dd>}} | ||
</dl> | </dl> | ||
</div></pre></noinclude> | </div></pre></noinclude> |
Revision as of 18:21, 29 October 2021
HTML entity names are used within this template to avoid parsing the contents early. The readable version is as follows:
<div class='Infobox Detailbox'> <b class='Header'>{{{Item|Peanut}}}</b> <i class='HeaderImage'><img src='{{filepath:{{{Item|Peanut}}}.png|nowiki}}'></i> <b class='SubHeader'>{{{Type|Details}}}</b> <dl> {{#if:{{{Level|}}}|<dt>Level</dt><dd>{{{Level}}}</dd>}} {{#if:{{{Class|}}}|<dt>Class</dt><dd>{{{Class}}}</dd>}} {{#if:{{{WeaponPower|}}}|<dt>W.Power</dt><dd>{{{WeaponPower}}}</dd>}} {{#if:{{{SkillPower|}}}|<dt>S.Power</dt><dd>{{{SkillPower}}}</dd>}} {{#if:{{{UseSpeed|}}}|<dt>Speed</dt><dd>{{{UseSpeed}}}</dd>}} {{#ifexpr:{{{STR|0}}}{{{AGI|0}}}{{{WIS|0}}}{{{LUCK|0}}}>0|<hr><dt>Stats</dt><dd class='wide'>{{#ifexpr:{{{STR|0}}}>0|<b class='str'>STR</b>x{{{STR}}} }} {{#ifexpr:{{{AGI|0}}}>0|<b class='agi'>AGI</b>x{{{AGI}}} }} {{#ifexpr:{{{WIS|0}}}>0|<b class='wis'>WIS</b>x{{{WIS}}} }} {{#ifexpr:{{{LUCK|0}}}>0|<b class='luk'>LUK</b>x{{{LUCK}}} }}</dd><hr>}} {{#if:{{{Defence|}}}|<dt>Def</dt><dd>{{{Defence}}}</dd>}} {{#if:{{{GreenDepth|}}}|<dt>G.Depth</dt><dd>{{{GreenDepth}}}</dd>}} {{#if:{{{YellowDepth|}}}|<dt>Y.Depth</dt><dd>{{{YellowDepth}}}</dd>}} {{#if:{{{RedDepth|}}}|<dt>R.Depth</dt><dd>{{{RedDepth}}}</dd>}} {{#if:{{{PurpleDepth|}}}|<dt>P.Depth</dt><dd>{{{PurpleDepth}}}</dd>}} {{#if:{{{ExpBonus|}}}|<dt>EXP Bonus</dt><dd>{{{ExpBonus}}}</dd>}} {{#if:{{{FishSpeed|}}}|<dt>Reel Speed</dt><dd>{{{FishSpeed}}}</dd>}} {{#if:{{{FishPower|}}}|<dt>Fish Power</dt><dd>{{{FishPower}}}</dd>}} {{#if:{{{Reach|}}}|<dt>Reach</dt><dd>{{{Reach}}}</dd>}} {{#if:{{{Upgrade|}}}|<dt>Slots</dt><dd>{{{Upgrade}}}</dd>}} {{#if:{{{MISC|}}}|<hr><dt>Misc</dt><dd class='wide'>{{{MISC}}}</dd>}} {{#if:{{{MISC2|}}}|<hr><dt>Misc2</dt><dd class='wide'>{{{MISC2}}}</dd>}} {{#if:{{{Bonus|}}}|<hr><dt>Bonus</dt><dd class='wide'>{{{Bonus}}}</dd>}} {{#if:{{{BonusRate|}}}|<hr><dt>Rate</dt><dd class='wide'>Base: {{{BonusRate}}}, Max: {{#expr:{{{BonusRate}}} * 4}}</dd>}} {{#if:{{{Description|}}}|<hr><dt>Desc</dt><dd class='wide'>{{{Description}}}</dd>}} {{#if:{{{StampMat|}}}|<hr><dt>Uses</dt><dd class='wide'>{{{StampMat}}}</dd>}} </dl> </div>