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 .
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}}.
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
Mob
NPC
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.
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.
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 () for where the coordinates are on the map.
Have you ever seen pages or tables that had mouse-over tool-tips that would appear when you hovered your mouse over certain words or phrases. Have you ever wondered how they did this?
Then you have come to the right page to lean how to do basic mouse-over tool-tips.
Step-by-step
In order to make the basic mouse-over tool-tip all you will have to do is surround the text you wish to have the tool-tip with span tags containing the parameter title="text goes here!" within the opening span tag, like this <span title="This is a tool-tip!">Mouse-over me to see the tool-tip!</span> and you will get:
Mouse-over me to see the tool-tip!
You can also change the way the cursor looks when hovering over the same text or any other text using the same method above and by adding the following parameter style="cursor:< cursor-style >;" to the opening span.
style="cursor:auto;", style="cursor:default;" or style="cursor:text;" will produce this:
Mouse-over me to see the cursor.
style="cursor:crosshair;" will produce this:
Mouse-over me to see the cursor.
style="cursor:help;" will produce this:
Mouse-over me to see the cursor.
style="cursor:move;" will produce this:
Mouse-over me to see the cursor.
style="cursor:pointer;" will produce this:
Mouse-over me to see the cursor.
style="cursor:progress;" will produce this:
Mouse-over me to see the cursor.
style="cursor:wait;" will produce this:
Mouse-over me to see the cursor.
For those re-size arrows you would use the following:
style="cursor:e-resize;" or style="cursor:w-resize;" will produce this:
Mouse-over me to see the cursor.
style="cursor:n-resize;" or style="cursor:s-resize;" will produce this:
Mouse-over me to see the cursor.
style="cursor:ne-resize;" or style="cursor:sw-resize;" will produce this:
Mouse-over me to see the cursor.
style=cursor:"nw-resize;" or style=cursor:"se-resize;" will produce this:
Mouse-over me to see the cursor.
You can combine these parameters and many others such as color, background, title=" text ", etc ... to get varied outputs. You can not break anything by adding any of these parameters to your span tags so go experiment and have fun.