Wikia

WoWWiki

Watchlist Recent changes

Help:Tooltips

HELP CONTENTS · Getting Started · New to WoWWiki · Editing WoWWiki · Editing WoWWiki (advanced) · The WoWWiki Community · Additional Help
See Wikia Help for general Wikia- and wiki- related help. See http://meta.wikimedia.org/ Meta-Wiki HelpIntro for basic MediaWiki usage!

This is an overview of the various WoWWiki tooltips that display when you mouseover a link (assuming you have JavaScript support in your browser). In addition, it explains the special relationships between several important templates that work together to show these tooltips .

Contents

{{Item}}, {{Loot}}, and {{Tooltip}} Edit

The {{item}} and {{loot}} templates both create a tooltip link, using information from the {{tooltip}} on the item's page. Do not use {{item}} tooltip inside {{tooltip}} or {{settip}}.

Item vs. Loot
ItemLoot
Pulls the color directly from the {{tooltip}} Displays the color from the <quality> parameter
More load on server Less load on server
Invalid pages are red Invalid pages create DB links
Pages with no/invalid {{tooltip}} embed the target page contents into page with {{item}}. Pages with no/invalid {{tooltip}} display an Error tooltip.
Can display item icon Can be used for enchants

Item format: {{item|<page_name>|<display_name>}} + |icon=.

  • <page_name> is the only required parameter.
  • Include |icon= to have the item's icon appear.


Link format: {{loot|<quality>|<page_name>|<display_name>}}.

  • <quality> determines the color of the link.
  • <page_name> is the only required parameter.
  • <display_name> can be used to hide disambiguations.
{{item}} Example Result {{loot}} Example Result
{{item|Warp Slicer|s}}[Warp Slicers] {{loot|legendary|Warp Slicer|s}}[Warp Slicers]
{{item|Dignified Headmaster's Charge}}[Dignified Headmaster's Charge] {{loot|epic|Dignified Headmaster's Charge}}[Dignified Headmaster's Charge]
{{item|Invalid Page}}Invalid Page {{loot|common|Invalid Page}}[Invalid Page]
{{item|Archeus|icon=}}Inv sword 08.png [Archeus] {{loot|uncommon|Archeus}}[Archeus]
Enchants not available {{loot|enchant|Enchant Weapon - Fiery Weapon}}[Enchant Weapon - Fiery Weapon]
{{item|Corruption (sword)|Corruption}}[Corruption] {{loot|rare|Corruption (sword)|Corruption}}[Corruption]

The enchant syntax for {{loot}} is proper for profession modifications that function as enchantments such as [Fur Lining - Stamina] and [Socket Bracer], which use the Embroid template for their {{tooltip}}.

Both {{item}} and {{loot}} require a valid {{tooltip}} on the target page to function correctly.

Example {{tooltip}}
<onlyinclude>{{{{{tpl|tooltip}}}
|mode={{{mode|}}}
|arg={{{arg|}}}
|itemid=2000
|dmg=63 - 95
|speed=3.30
|icon=INV_Sword_08
|quality=Uncommon
|effect=Chance on hit: Blasts a target for 85 Arcane damage.
|flavor=[[Morgan Ladimore]]'s sword.
|name=Archeus
|durability=85
|bind=BoP
|type=Sword
|slot=Two-Hand
|dps=23.9 
|sell={{cost||88|27}}
|ilvl=35
}}</onlyinclude>
You can use the following item to test the contents of various {{tooltip}} parameters
[Test loot]

{{Mob}}, {{NPC}}, and {{Npcbox}} Edit

The {{mob}} and {{NPC}} templates both create a tooltip link, using information from the {{npcbox}} on the NPC's page ({{Mobbox}} was previously used for {{mob}}, but has been replaced with {{Npcbox}}).

Mob vs. NPC
MobNPC
Displays a combat icon before the link. Displays the icon from the <faction> parameter.
Used only for NPCs that neither faction can interact with. Used for NPCs that at least one faction can interact with.

Mob format: {{mob|<page_name>|<title>|<display_name>}}. See {{mob}} for additional parameters.

  • <page_name> is the only required parameter.
  • <title> should only be the title displayed when mousing over the NPC in-game.
  • <display_name> can be used to hide disambiguations.


NPC format: {{NPC|<faction>|<page_name>|<title>|<display_name>}}. See {{NPC}} for additional parameters.

  • <faction> inserts an icon for the NPC's faction before link. Values: Alliance, Horde, Neutral, Combat.
  • <page_name> is the only required parameter.
  • <title> should only be the title displayed when mousing over the NPC in-game.
  • <display_name> can be used to hide disambiguations.
  • <level=>, a named parameter*, is the NPC's level.
  • <icon=>, a named parameter*, is the NPC's level.
*Named parameters can be placed anywhere in the parameters and will not affect the ordered parameters.
{{mob}}Example Result {{NPC}} Example Result
{{Mob|Alexander Calder|Warlock Trainer}}Combat Alexander Calder <Warlock Trainer> {{NPC|Alliance|Alexander Calder|Warlock Trainer}}Alliance Alexander Calder <Warlock Trainer>
{{Mob|Lord Victor Nefarius|Lord of Blackrock|level=??+}}Combat [??+] Lord Victor Nefarius <Lord of Blackrock> {{NPC||level=70+|Andormu|Keepers of Time}}[70+] Andormu <Keepers of Time>

Both {{mob}} and {{NPC}} require a valid {{Npcbox}} on the target page to function correctly.

Example {{Npcbox}}
{{npcbox
 | name = Alexander Calder
 | image = Alexander Calder.jpg
 | title = Warlock Trainer
 | level = 60
 | type = 
 | faction = Alliance
 | city = 
 | race = Human
 | creature = Humanoid
 | sex = Male
 | location = [[Ironforge]]
 | relatives = [[Amelia Calder|Amelia]] (sister), [[Deze Snowbane]] (cousin)
 | status = Alive
}}

{{Quest}}, {{Questlong}}, or {{Questclass}}; and {{Questbox}} Edit

The {{Quest}}, {{Questlong}}, or {{Questclass}} templates create varying types of quest links that display tooltip with a subset of quest info from data in the {{Questbox}} of the target quest.

Example Result
{{quest|Divino-matic Rod}} Divino-matic Rod
{{questlong|Neutral|47D|Divino-matic Rod}}N [47D] Divino-matic Rod
{{questclass|Neutral|Warlock|60G|Suppression}}N Warlock [60G] Suppression

For the {{Quest}}, {{Questlong}}, or {{Questclass}} templates to work, the target quest must contain a completed {{Questbox}} template.

Example {{Questbox}}
{{questbox
| name = Suppression
| faction = Neutral
| level = 60
| levelreq = 60
| class = warlock
| type = Group
| category = Blasted Lands
| start = {{NPC|Neutral|Daio the Decrepit|level=60}}
| experience = 650
| rewards = {{loot|rare|Tome of Sacrifice}}
| id = 7583
}}

{{Coords}} Edit

This template creates a superscript link to a page with the name of the 3rd (map) parameter and shows a tooltip of the corresponding map with a marker (BlipA.gif) for where the coordinates are on the map.

Example Result
{{coords|54|51|Stormwind}}[54, 51]
WorldMap-StormwindCity.jpg
Blip.png
{{coords|56|75|Durotar}}[55.8, 75.3]
WorldMap-Durotar.jpg
Blip.png

For a list of map names to use, see Template:Coords/Maps.

{{Ability}} Edit

This template creates a link to a spell or other ability.

Example Result
{{ability|Frostfire Bolt}}[Frostfire Bolt]
{{ability|Execute|Mage killer}}[Mage killer]
{{ability|Magical Pink Pony Power}}[Magical Pink Pony Power]

This template requires {{Infobox ability}} to be on the target page.

How it works Edit

The templates work in combination with Javascript to load the box, tooltip, or other relevant data for display. The mechanism was developed by Pcj.

If you wish to add a mouse-over tool-tip to your text, you have to use:

<span title="mouse-over tool-tip text"> normal text </span> tags.

For the basic mouse-over tool-tip you will need to:

<span title="This is a mouse-over tool-tip"> mouse-over me. </span> to produce:
mouse-over me.


To make a " ? " appear next to the cursor when you mouse moves over the text then you will need to:

<span style="cursor:help;" title=" This is a mouse-over tool-tip"> mouse-over me. </span> to produce:
mouse-over me.

Other options that can be used in place of   cursor:help;   are:

  1. cursor:auto
    mouse-over me.
  2. cursor:crosshair
    mouse-over me.
  3. cursor:default
    mouse-over me.
  4. cursor:e-resize
    mouse-over me.
  5. cursor:move
    mouse-over me.
  6. cursor:n-resize
    mouse-over me.
  7. cursor:ne-resize
    mouse-over me.
  8. cursor:nw-resize
    mouse-over me.
  9. cursor:pointer
    mouse-over me.
  10. cursor:progress
    mouse-over me.
  11. cursor:s-resize
    mouse-over me.
  12. cursor:se-resize
    mouse-over me.
  13. cursor:sw-resize
    mouse-over me.
  14. cursor:text
    mouse-over me.
  15. cursor:w-resize
    mouse-over me.
  16. cursor:wait
    mouse-over me.

Next Pages Edit

Pages on WoWWiki

94,146pages on
this wiki

Latest Photos

Add a Photo
55,612photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki