Template:ItemDetails/tooltipbox

From IdleOn MMO Wiki
< Template:ItemDetails
Revision as of 06:47, 29 October 2021 by imported>Wekhter

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:{{{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:{{{Description|}}}|<hr><dt>Desc</dt><dd class='wide'>{{{Description}}}</dd>}}
	</dl>
</div>