Wikia

WoWWiki

Changes: Template:Tooltip

Edit this page

Back to page

(support warforged=)
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude><includeonly>{{#switch:{{{mode|}}}
+
Creates a flexible WoW tooltip.
  +
  +
See [[Template:Tooltip/doc]] for instructions and examples.<!-- high volume template, please don't integrate docs -->
  +
  +
[[Category:WoW utility templates]][[ru:Шаблон:ВП]]
  +
----
  +
;Template
  +
<onlyinclude><includeonly><!--
  +
  +
-->{{#switch:{{{mode|}}}
 
|link={{loot|{{{quality|}}}|{{{disambigpage|{{{name}}}}}}|{{#if:{{{arg|}}}|{{{arg}}}|{{{name}}}}}}}
 
|link={{loot|{{{quality|}}}|{{{disambigpage|{{{name}}}}}}|{{#if:{{{arg|}}}|{{{arg}}}|{{{name}}}}}}}
 
|imlink={{#if:{{{icon|}}}|[[File:{{lc:{{{icon}}}}}.png|16px]]&nbsp;}}{{loot|{{{quality|}}}|{{{disambigpage|{{{name}}}}}}|{{#if:{{{arg|}}}|{{{arg}}}|{{{name}}}}}}}
 
|imlink={{#if:{{{icon|}}}|[[File:{{lc:{{{icon}}}}}.png|16px]]&nbsp;}}{{loot|{{{quality|}}}|{{{disambigpage|{{{name}}}}}}|{{#if:{{{arg|}}}|{{{arg}}}|{{{name}}}}}}}
 
|arg={{{{{{arg|name}}}|--}}}
 
|arg={{{{{{arg|name}}}|--}}}
|#default=<div style="font-size: {{#ifeq:{{#ifeq:{{{mode|}}}|home|{{{disambigpage|{{{name}}}}}}|{{#replace:{{#replace:{{#replace:{{FULLPAGENAME}}|&quot;|"}}|&#39;|'}}|&amp;|&}}}}|{{#ifeq:{{{mode|}}}|away|<|{{{disambigpage|{{{name}}}}}}}}|1em; float: {{{float|right}}}|0.85em; float: {{{float|left}}}}}; width: {{{width|18em}}};" class="itemtooltip">{{#ifeq:{{{disambigpage|{{{name}}}}}}|{{#replace:{{#replace:{{#replace:{{FULLPAGENAME}}|&quot;|"}}|&#39;|'}}|&amp;|&}}|<div class="tooltip-content">}}<!--
+
|#default=<div style="font-size:<!--
Icon -->{{#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}}}}<ul><!--
 
   
# SHOW EVERYWHERE #
+
-->{{#vardefine:tALTNAME|{{#replace:{{#replace:{{#replace:{{FULLPAGENAME}}|&quot;|"}}|&#39;|'}}|&amp;|&}}}}<!--
Item Name -->{{#if:{{{name|}}}|<li>{{Quality|{{{quality|}}}|{{{disambigpage|{{{name}}}}}}|{{{name}}}|tooltip=1}}}}<!--
+
Heroic tag -->{{#if:{{{heroic|}}}|<li class="bonus">Heroic</li>}}<!--
+
DISAMBIG is left and smaller font
  +
-->{{#ifeq:{{#ifeq:{{{mode|}}}|home|{{{disambigpage|{{{name}}}}}}|{{#var:tALTNAME}}}}|{{#ifeq:{{{mode|}}}|away|<|{{{disambigpage|{{{name}}}}}}}}|1em; float:{{{float|right}}}|0.85em; float:{{{float|left}}}}}; width:{{{width|18em}}};" class="itemtooltip">{{#ifeq:{{{disambigpage|{{{name}}}}}}|{{#var:tALTNAME}}|<div class="tooltip-content">}}<!--
  +
ICON
  +
-->{{#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}}}}<ul><!--
  +
  +
SHOW EVERYWHERE
  +
Item Name -->{{#if:{{{name|}}}|<li>{{Quality|{{{quality|}}}|{{{disambigpage|{{{name}}}}}}|{{{name}}}|tooltip=1}}</li>}}<!--
  +
Heroic/Elite/Raid Finder/Thunderforged/Warforged) tag -->{{#if:{{{heroic|{{{elite|{{{raidfinder|{{{thunderforged|{{{warforged|}}}}}}}}}}}}}}}|<li class="bonus">{{#if:{{{heroic|}}}|Heroic}} {{#if:{{{raidfinder|}}}|[[Raid Finder mode|Raid Finder]]}} {{#if:{{{elite|}}}|Elite}} {{#if:{{{thunderforged|}}}|Thunderforged}}{{#if:{{{warforged|}}}|Warforged}}</li>}}<!--
 
Arena Season -->{{#if:{{{season|}}}|<li class="bonus">Season {{{season|}}}</li>}}<!--
 
Arena Season -->{{#if:{{{season|}}}|<li class="bonus">Season {{{season|}}}</li>}}<!--
Conjured Flag -->{{#ifeq:{{{conjured|undeclared}}}|undeclared||<li>[[Conjured item|Conjured Item]]}}<!--
+
Conjured Flag -->{{#ifeq:{{{conjured|undeclared}}}|undeclared||<li>[[Conjured item|Conjured Item]]</li>}}<!--
Location Limit -->{{#if:{{{instancebind|}}}|<li>{{{instancebind}}}|}}<!--
+
Location Limit -->{{#if:{{{instancebind|}}}|<li>{{{instancebind}}}</li>|}}<!--
  +
Item is Cooking Ingredient -->{{#ifeq:{{{cooking|-}}}||<li class="crafting">Cooking Ingredient</li>}}<!--
 
Item is Crafting Material -->{{#ifeq:{{{crafting|-}}}||<li class="crafting">Crafting Material</li>}}<!--
 
Item is Crafting Material -->{{#ifeq:{{{crafting|-}}}||<li class="crafting">Crafting Material</li>}}<!--
Item Binding -->{{#switch:{{{bind}}}
+
Item Level -->{{#if:{{{ilvl|}}}|<li class="flavor">[[Item level|Item Level]] {{#if:{{{noDE|}}}|{{{ilvl}}}|{{qtt|{{{ilvl}}}|Disenchants into:<br />{{DE|ilvl={{{ilvl}}}|slot={{{slot}}}|quality={{{quality}}}<!--DE-->}}<!--qtt-->}}<!--if-->}}</li>}}<!--
|BoP=<li>[[Bind on Pickup|Binds when picked up]]{{#if:{{{account|}}}|<br/><span style="color:gray;">({{{account|}}})</span>}}
+
Upgrade Level -->{{#if:{{{upgradelevel|}}}|<li class="flavor">[[Item Level Upgrades|Upgrade Level]] {{{upgradelevel}}}</li>}}<!--
|BoE=<li>[[Bind on Equip|Binds when equipped]]
+
Item Binding -->{{#switch:{{{bind}}}<!--
|BoU=<li>[[Bind on Use|Binds when used]]
+
-->|BoP=<li>[[Bind on Pickup|Binds when picked up]]{{#if:{{{account|}}}|<br/><span style="color:gray;">({{{account|}}})</span>}}</li><!--
|BtA=<li>[[Bind to Account|Binds to Battle.net account]]}}<!--
+
-->|BoE=<li>[[Bind on Equip|Binds when equipped]]</li><!--
Item is a Quest Item -->{{#if:{{{qitem|}}}|<li>[[Quest Item]]}}<!--
+
-->|BoU=<li>[[Bind on Use|Binds when used]]</li><!--
Item is Unique -->{{#ifeq:{{{unique|1}}}|1|{{#if:{{{unique|}}}|<li>[[Unique]]}}|<li>[[Unique]]{{#if:{{{unique|}}}|&nbsp;({{{unique}}})}}}}<!--
+
-->|BtA=<li>[[Bind to Account|Binds to Battle.net account]]{{#if:{{{account|}}}|<br/><span style="color:gray;">({{{account|}}})</span>}}</li>}}<!--
Item is Unique Equipped -->{{#ifeq:{{{unique-eq|1}}}|1|{{#if:{{{unique-eq|}}}|<li>[[Unique-Equipped]]}}|<li>[[Unique-Equipped]]{{#if:{{{unique-type|}}}|{{colon}} {{{unique-type|}}}}}{{#if:{{{unique-eq|}}}|&nbsp;({{{unique-eq}}})}}}}<!--
+
Item is a Quest Item -->{{#if:{{{qitem|}}}|<li>[[Quest Item]]</li>}}<!--
Item Glyph -->{{#if:{{{glyph|}}}|<li class="glyph">{{#switch:{{lc:{{{glyph}}}}}|minor=Minor Glyph|prime=Prime Glyph|Major Glyph}}}}<!--
+
Item is Unique -->{{#ifeq:{{{unique|1}}}|1|{{#if:{{{unique|}}}|<li>[[Unique]]</li>}}|<li>[[Unique]]{{#if:{{{unique|}}}|&nbsp;({{{unique}}})}}<!----></li>}}<!--
Item Duration -->{{#if:{{{duration|}}}|<li>[[Duration (Item)|Duration: {{{duration}}}]]}}<!--
+
Item is Unique Equipped -->{{#ifeq:{{{unique-eq|1}}}|1|{{#if:{{{unique-eq|}}}|<li>[[Unique-Equipped]]</li>}}|<li>[[Unique-Equipped]]{{#if:{{{unique-type|}}}|{{colon}} {{{unique-type|}}}}}{{#if:{{{unique-eq|}}}|&nbsp;({{{unique-eq}}})}}</li>}}<!--
Item Begins Quest -->{{#if:{{{qbegin|}}}|<li>[[Quest:{{{qbegin}}}|This Item Begins a Quest]]}}<!--
+
Item Glyph -->{{#if:{{{glyph|}}}|<li class="glyph">{{#switch:{{lc:{{{glyph}}}}}|minor=Minor Glyph|prime=Prime Glyph|Major Glyph}}</li>}}<!--
Item Type -->{{#if:{{#switch:{{lc:{{{type}}}}}|quiver|ammo pouch=|{{#ifeq:{{#sub:{{lc: {{{type|}}}}}|-4}}| bag||{{{type|}}}}}}}|<br clear="all" /><li style="float: right;">{{#switch:{{lc:{{{type}}}}}
+
Item Duration -->{{#if:{{{duration|}}}|<li>[[Duration (Item)|Duration: {{{duration}}}]]</li>}}<!--
|cloth=[[Cloth armor|Cloth]]<!--
+
Item Begins Quest -->{{#if:{{{qbegin|}}}|<li>[[Quest:{{{qbegin}}}|This Item Begins a Quest]]</li>}}<!--
  +
Item Type -->{{#if:{{#switch:{{lc:{{{type}}}}}|quiver|ammo pouch=|{{#ifeq:{{#sub:{{lc:{{{type|}}}}}|-4}}| bag||{{{type|}}}}}}}|<li style="float: right; margin-top:0px;">{{#switch:{{lc:{{{type}}}}}<!--
  +
-->|cloth=[[Cloth armor|Cloth]]<!--
 
-->|leather=[[Leather armor|Leather]]<!--
 
-->|leather=[[Leather armor|Leather]]<!--
 
-->|mail=[[Mail armor|Mail]]<!--
 
-->|mail=[[Mail armor|Mail]]<!--
Line 32: Line 32:
 
-->|libram=[[Libram (relic)|Libram]]<!--
 
-->|libram=[[Libram (relic)|Libram]]<!--
 
-->|totem=[[Totem (relic)|Totem]]<!--
 
-->|totem=[[Totem (relic)|Totem]]<!--
-->|[[{{{type}}}]]}} }}<!--
+
-->|[[{{{type}}}]]}}<!--
  +
-->}}<!--
 
Item Slot -->{{#if:{{{slot|}}}|<li class="ttslot-{{{slot|None}}}">[[{{{slot}}}]]}}<!--
 
Item Slot -->{{#if:{{{slot|}}}|<li class="ttslot-{{{slot|None}}}">[[{{{slot}}}]]}}<!--
Item Speed -->{{#if:{{{speed|}}}|<br clear="all" /><li style="float: right;">[[Speed (Attack)|Speed]] {{{speed}}} }}<!--
+
Item Speed -->{{#if:{{{speed|}}}|<br clear="all" /><li style="float: right; margin-top:0px;">[[Speed (Attack)|Speed]] {{{speed}}}</li>}}<!--
Item Damage -->{{#if:{{{dmg|}}}|<li>{{{dmg}}} {{#if:{{{dmgtype|}}}|[[{{{dmgtype}}}]] }} Damage}}<!--
+
Item Damage -->{{#if:{{{dmg|}}}|<li>{{{dmg}}} {{#if:{{{dmgtype|}}}|[[{{{dmgtype}}}]] }} Damage</li>}}<!--
Item Damage Bonus -->{{#if:{{{bonus|}}}|<li>{{{bonus}}} {{#if:{{{bonustype|}}}|[[{{{bonustype}}}]] }} Damage}}<!--
+
Item Damage Bonus -->{{#if:{{{bonus|}}}|<li>{{{bonus}}} {{#if:{{{bonustype|}}}|[[{{{bonustype}}}]] }} Damage</li>}}<!--
Item DPS -->{{#if:{{{dps|}}}|<li>({{{dps}}} [[DPS|damage per second]])}}<!--
+
Item DPS -->{{#if:{{{dps|}}}|<li>({{{dps}}} [[DPS|damage per second]])</li>}}<!--
 
Feral AP *removed with Cataclysm*<!--{{#ifexpr:{{{dps|0}}}>54.8|{{#switch:{{{type|}}}|Staff|Mace|Polearm=<li><span class="cc-druid" title="Only applies for druids">({{#expr:(({{{dps|}}}-54.8)*14) round 0}} [[Feral attack power|<span class="cc-druid" title="Only applies for druids">feral attack power</span>]])</span>|}}|}}--><!--
 
Feral AP *removed with Cataclysm*<!--{{#ifexpr:{{{dps|0}}}>54.8|{{#switch:{{{type|}}}|Staff|Mace|Polearm=<li><span class="cc-druid" title="Only applies for druids">({{#expr:(({{{dps|}}}-54.8)*14) round 0}} [[Feral attack power|<span class="cc-druid" title="Only applies for druids">feral attack power</span>]])</span>|}}|}}--><!--
Item Armor -->{{#if:{{{armor|}}}|{{#ifeq:{{{bonusarmor|-}}}|-|<li>{{{armor|}}} [[Armor]]|<li style="color: #0f0; cursor: help" title="+{{{bonusarmor|}}} Bonus Armor">{{{armor|}}} [[Armor|<span style="color: #0f0">Armor</span>]]}}}}<!--
+
Item Armor -->{{#if:{{{armor|}}}|{{#ifeq:{{{bonusarmor|-}}}|-|<li>{{{armor|}}} [[Armor]]</li>|<li style="color: #0f0; cursor: help" title="+{{{bonusarmor|}}} Bonus Armor">{{{armor|}}} [[Armor|<span style="color: #0f0">Armor</span>]]</li>}}}}<!--
Item Block -->{{#if:{{{block|}}}|<li>{{{block}}} [[Block]]}}<!--
+
Item Block -->{{#if:{{{block|}}}|<li>{{{block}}} [[Block]]</li>}}<!--
Item Attributes -->{{#if:{{{attrib|}}}|<li>{{{attrib}}}}}<!--
+
Item Attributes -->{{#if:{{{attrib|}}}|<li>{{{attrib}}}</li>}}<!--
Item Requirements -->{{#if:{{{req|}}}|<li class="req">{{{req}}}}}<!--
+
Item Bonus Attribs -->{{#if:{{{bonusattrib|}}}|<li class="bonus">{{{bonusattrib}}}</li>}}<!--
Item Sockets -->{{#if:{{{sockets|}}}|<li class="socket">{{{sockets|}}}}}<!--
+
Item Requirements -->{{#if:{{{req|}}}|<li class="req">{{{req}}}</li>}}<!--
Item Socket Bonus -->{{#if:{{{sockbonus|}}}|<li class="socket">[[Bonus (Socket)|Socket Bonus]]: {{{sockbonus|}}}}}<!--
+
Item Sockets -->{{#if:{{{sockets|}}}|<li class="socket">{{{sockets|}}}</li>}}<!--
Item Durability -->{{#if:{{{durability|}}}|<li>[[Durability]] {{{durability}}} / {{{durability}}}}}<!--
+
Item Socket Bonus -->{{#if:{{{sockbonus|}}}|<li class="socket">[[Bonus (Socket)|Socket Bonus]]: {{{sockbonus|}}}</li>}}<!--
Item is Locked -->{{#ifeq:{{{locked|-}}}|-||<li class="locked">[[Locked]]}}<!--
+
Item Durability -->{{#if:{{{durability|}}}|<li>[[Durability]] {{{durability}}} / {{{durability}}}</li>}}<!--
Item is Locked (skill) -->{{#if:{{{locked|}}}|<li>Requires [[Lockpicking]] ({{{locked|}}})}}<!--
+
Item is Locked -->{{#ifeq:{{{locked|-}}}|-||<li class="locked">[[Locked]]</li>}}<!--
Item Bag Slots -->{{#if:{{{bag|}}}|<li>{{{bag}}} Slot [[{{lc:{{{bagtype|{{{type|Bag}}}}}}}}|{{{bagtype|{{{type|Bag}}}}}}]]}}<!--
+
Item is Locked (skill) -->{{#if:{{{locked|}}}|<li>Requires [[Lockpicking]] ({{{locked|}}})</li>}}<!--
Item Class Requirements -->{{#if:{{{classes|}}}|<li>[[Class|Classes]]: {{{classes}}}}}<!--
+
Item Bag Slots -->{{#if:{{{bag|}}}|<li>{{{bag}}} Slot [[{{lc:{{{bagtype|{{{type|Bag}}}}}}<!--lc-->}}|{{{bagtype|{{{type|Bag}}}}}}]]</li>}}<!--
Item Race Requirements -->{{#if:{{{races|}}}|<li>[[Race|Races]]: {{#switch:{{{races}}}|Alliance=Human, Dwarf, Night Elf, Gnome, Draenei|Horde=Orc, Undead, Tauren, Troll, Blood Elf|{{{races}}}}}}}<!--
+
Item Class Requirements -->{{#if:{{{classes|}}}|<li>[[Class|Classes]]: {{{classes}}}</li>}}<!--
Item Level Requirement -->{{#if:{{{level|}}}|<li>Requires Level {{{level}}}}}<!--
+
Item Race Requirements -->{{#if:{{{races|}}}|<li>[[Race|Races]]: {{#switch:{{{races}}}|Alliance=Human, Dwarf, Night Elf, Gnome, Draenei, Worgen|Horde=Orc, Undead, Tauren, Troll, Blood Elf, Goblin|{{{races}}}<!---->}}</li>}}<!--
Item Skill Requirement -->{{#if:{{{skill|}}}|<li>Requires {{{skill}}}}}<!--
+
Item Level Requirement -->{{#if:{{{level|}}}|<li>Requires Level {{{level}}}</li>}}<!--
Item Event Requirement -->{{#if:{{{event|}}}|<li>Requires {{{event}}}}}<!--
+
Item Skill Requirement -->{{#if:{{{skill|}}}|<li class="skill">Requires {{{skill}}}</li>}}<!--
Item Profession Type Requirement -->{{#if:{{{prof|}}}|<li>Requires {{{prof}}}}}<!--
+
Item Event Requirement -->{{#if:{{{event|}}}|<li>Requires {{{event}}}</li>}}<!--
Items Factions Requirement -->{{#if:{{{rfactions|{{{rfaction|}}}}}}|{{#if:{{{rep|}}}|<li>Requires {{{rfactions|[[{{{rfaction|}}}|{{{rfaction}}}]]}}} - {{{reps|[[{{{rep}}}]]}}}}}}}<!--
+
Item Profession Type Requirement -->{{#if:{{{prof|}}}|<li class="skill">Requires {{{prof}}}</li>}}<!--
Item Level -->{{#if:{{{ilvl|}}}|<li>[[Item level|Item Level]] {{#if:{{{noDE|}}}|{{{ilvl}}}|{{qtt|{{{ilvl}}}|Disenchants into:<br />{{DE|ilvl={{{ilvl}}}|slot={{{slot}}}|quality={{{quality}}}}}}}}}}}<!--
+
Items Factions Requirement -->{{#if:{{{rfactions|{{{rfaction|}}}}}}|{{#if:{{{rep|}}}|<li>Requires {{{rfactions|[[{{{rfaction|}}}|{{{rfactionlabel|{{{rfaction}}}}}}]]}}} - {{{reps|[[{{{rep}}}]]}}}</li>}}<!---->}}<!--
Item Arena Rating Requirement -->{{#if:{{{rating|}}}|<li>Requires personal and team arena rating of {{{rating}}}}}<!--
+
Item Arena Rating Requirement -->{{#if:{{{rating|}}}|<li>Requires personal and team arena rating of {{{rating}}}</li>}}<!--
Item Effects (Value) -->{{#if:{{{effect|}}}|<li class="bonus">{{{effect|}}}}}<!--
+
Item Effects (Value) -->{{#if:{{{effect|}}}|<li class="bonus">{{{effect|}}}</li>}}<!--
Item Creates Item -->{{#if:{{{create|}}}|<li>{{Loot|{{{createq|}}}|{{{createpage|{{{create}}}}}}|{{{create}}}}}}}<!--
+
Item Creates Item -->{{#if:{{{create|}}}|<li>{{Loot|{{{createq|}}}|{{{createpage|{{{create}}}}}}|{{{create}}}<!---->}}</li>}}<!--
Item Required Mats to Create -->{{#if:{{{mats|}}}|<li>Requires {{{mats}}}}}<!--
+
Item Required Mats to Create -->{{#if:{{{mats|}}}|<li>Requires {{{mats}}}</li>}}<!--
Item Charges -->{{#if:{{{charges|}}}|<li>{{{charges}}} [[Charges]]}}<!--
+
Item Charges -->{{#if:{{{charges|}}}|<li>{{{charges}}} [[Charges]]</li>}}<!--
Item Flavor Text -->{{#if:{{{flavor|{{{desc|{{{comment|}}}}}}}}}|<li class="flavor">"{{{flavor|{{{desc|{{{comment}}}}}}}}}"}}<!--
+
Item Flavor Text -->{{#if:{{{flavor|{{{desc|{{{comment|}}}}}}}}}|<li class="flavor">"{{{flavor|{{{desc|{{{comment}}}}}}}}}"</li>}}<!--
ID for Wowhead 3D viewer -->{{#if:{{{id|}}}|<li style="float:right;">[[File:Icon-3D-48x48.png|75px|link=http://{{{subdomain|www}}}.wowhead.com/item={{{id|}}}#modelviewer]]}}<!--
+
ID for Wowhead item 3D viewer -->{{#if:{{{id|}}}|<li style="float:right;">[[File:Icon-3D-48x48.png|75px|link=http://{{{subdomain|www}}}.wowhead.com/item={{{id|}}}#modelviewer]]</li>}}<!--
Item Sell Price -->{{#if:{{{sell|}}}|<li>Sell Price: {{{sell}}}}}<!--
+
ID for Wowhead object 3D viewer -->{{#if:{{{objectid|}}}|<li style="float:right;">[[File:Icon-3D-48x48.png|75px|link=http://{{{subdomain|www}}}.wowhead.com/object={{{objectid|}}}#modelviewer]]</li>}}<!--
Item is Readable -->{{#if:{{{read|}}}|<li class="bonus"><Right Click to Read>}}<!--
+
Item Sell Price -->{{#if:{{{sell|}}}|<li>Sell Price: {{{sell}}}<!---->}}<!--
Item is Openable -->{{#if:{{{open|}}}|<li class="bonus"><Right Click to Open>}}<!--
+
Item is Readable -->{{#if:{{{read|}}}|<li class="bonus">&lt;Right Click to Read&gt;</li>}}<!--
  +
Item is Openable -->{{#if:{{{open|}}}|<li class="bonus">&lt;Right Click to Open&gt;</li>}}<!--
   
# SHOW ONLY ON OWN PAGE# -->{{#ifeq:{{#ifeq:{{{mode|}}}|home|{{{disambigpage|{{{name}}}}}}|{{#replace:{{#replace:{{#replace:{{FULLPAGENAME}}|&quot;|"}}|&#39;|'}}|&amp;|&}}}}|{{#ifeq:{{{mode|}}}|away|<|{{{disambigpage|{{{name}}}}}}}}|<!--
+
# ADDS CATEGORY ONLY #
  +
Upgrade level -->{{#ifeq:{{{mode|}}}||{{#if:{{{upgradelevel|}}}|[[Category:World of Warcraft upgrade level {{{upgradelevel}}} items|{{{disambigpage|{{{name}}}}}}]]}}}}<!--
  +
  +
# SHOW ONLY ON OWN PAGE# -->{{#ifeq:{{#ifeq:{{{mode|}}}|home|{{{disambigpage|{{{name}}}}}}|{{#replace:{{#replace:{{#replace:{{FULLPAGENAME}}|&quot;|"}}|&#39;|'}}|&amp;|&}}}}|{{#ifeq:{{{mode|}}}|away|<|{{{disambigpage|{{{name}}}}}}<!---->}}|<!--
 
Item Set Full -->{{#if:{{{set|}}}|{{:{{{setpage|{{{set}}}}}}|mode=itemtip}}}}<!--
 
Item Set Full -->{{#if:{{{set|}}}|{{:{{{setpage|{{{set}}}}}}|mode=itemtip}}}}<!--
Item Cooldown -->{{#if:{{{cooldown|}}}|<li class="detail">[[Cooldown (Item)|Cooldown]]: {{{cooldown}}}}}<!--
+
Item Cooldown -->{{#if:{{{cooldown|}}}|<li class="detail">[[Cooldown (Item)|Cooldown]]: {{{cooldown}}}</li>}}<!--
Item Cast Time -->{{#if:{{{cast|}}}|<li class="detail">{{{cast}}} [[Cast|cast]]}}<!--
+
Item Cast Time -->{{#if:{{{cast|}}}|<li class="detail">{{{cast}}} [[Cast|cast]]</li>}}<!--
Item Vendor Price -->{{#if:{{{vendor|}}}|<li class="detail">Vendor {{{vendor}}}}}<!--
+
Item Vendor Price -->{{#if:{{{vendor|}}}|<li class="detail">Vendor {{{vendor}}}</li>}}<!--
 
Categorize --><!----><!--
 
Categorize --><!----><!--
   
Line 79: Line 79:
   
 
#End Check# -->}}<!--
 
#End Check# -->}}<!--
End Tooltip --></ul>{{#ifeq:{{{disambigpage|{{{name}}}}}}|{{#replace:{{#replace:{{#replace:{{FULLPAGENAME}}|&quot;|"}}|&#39;|'}}|&amp;|&}}|</div>}}</div>}}<!--
+
End Tooltip
--></includeonly></onlyinclude>{{Documentation}}
+
--></ul>{{#ifeq:{{{disambigpage|{{{name}}}}}}|{{#replace:{{#replace:{{#replace:{{FULLPAGENAME}}|&quot;|"}}|&#39;|'}}|&amp;|&}}|</div>}}</div>}}<!--
  +
  +
--></includeonly></onlyinclude>

Latest revision as of 00:08, April 24, 2014

Creates a flexible WoW tooltip.

See Template:Tooltip/doc for instructions and examples.


Template

Around Wikia's network

Random Wiki