Template:ToolTip

{{#switch:{{{mode|}}}
 * link={{loot|{{{quality|}}}|{{{disambigpage|{{{name}}}}}}|{{#if:{{{arg|}}}|{{{arg}}}|{{{name}}}}}}}
 * imlink={{#if:{{{icon|}}}|{{lc:{{{icon}}}}}.png }}{{loot|{{{quality|}}}|{{{disambigpage|{{{name}}}}}}|{{#if:{{{arg|}}}|{{{arg}}}|{{{name}}}}}}}
 * arg={{{{{{arg|name}}}|--}}}
 * default={{#ifeq:{{{disambigpage|{{{name}}}}}}|{{#replace:{{#replace:{{#replace:{{FULLPAGENAME}}|&quot;|"}}|&#39;|'}}|&amp;|&}}| }}{{#if:{{{icon|}}}|{{Icon|{{lc:{{{icon}}}}}|{{{stack|}}}|size={{#ifeq:{{#ifeq:{{{mode|}}}|home|{{{disambigpage|{{{name}}}}}}|{{#replace:{{#replace:{{#replace:{{FULLPAGENAME}}|&quot;|"}}|&#39;|'}}|&amp;|&}}}}|{{#ifeq:{{{mode|}}}|away|<|{{{disambigpage|{{{name}}}}}}}}|3|4}}|float=right|margin=0}}}}{{#if:{{{name|}}}|{{Quality|{{{quality|}}}|{{{disambigpage|{{{name}}}}}}|{{{name}}}|tooltip=1}}}}{{#if:{{#switch:{{lc:{{{type}}}}}|quiver|ammo pouch=|{{#ifeq:{{#sub:{{lc: {{{type|}}}}}|-4}}| bag||{{{type|}}}}}}}|{{#switch:{{lc:{{{type}}}}}
 * cloth=Cloth
 * Light=Light
 * Heavy=Heavy

{{#if:{{{dmg|}}}|{{{dmg}}} {{#if:{{{dmgtype|}}}|{{{dmgtype}}} }} Damage}}{{#if:{{{armor|}}}|{{#ifeq:{{{bonusarmor|-}}}|-|{{{armor|}}} Armor|{{{armor|}}} Armor }}}}{{#if:{{{sell|}}}|Sell Price: {{{sell}}}}}{{#ifeq:{{#ifeq:{{{mode|}}}|home|{{{disambigpage|{{{name}}}}}}|{{#replace:{{#replace:{{#replace:{{FULLPAGENAME}}|&quot;|"}}|&#39;|'}}|&amp;|&}}}}|{{#ifeq:{{{mode|}}}|away|<|{{{disambigpage|{{{name}}}}}}}}|{{#if:{{{vendor|}}}| Vendor {{{vendor}}}}}}}{{#ifeq:{{{disambigpage|{{{name}}}}}}|{{#replace:{{#replace:{{#replace:{{FULLPAGENAME}}|&quot;|"}}|&#39;|'}}|&amp;|&}}| }} }}
 * {{{type}}}}} }}{{#if:{{{slot|}}}|{{{slot}}}}