It's never been easier to add Torhead tooltips to your site.
1. Add this piece of HTML code anywhere on your page:
2. You are done!
Torhead links found on your site will now sport a tooltip. The following pages are supported: ability, class, item, mission, npc, schematic.
Link By Name
All database pages can now be linked to with names instead of IDs! For example, you can use http://www.torhead.com/item/ace+in+the+hole instead of http://www.torhead.com/item/DQAEoU. Pages linked this way are not case sensitive, and work perfectly with tooltips! We recommend using + as a space because some forum software may not realize the spaces are part of the link, but on our end we support both.
Only want to do one of those things? Then include just the option you want, like so:
A full list of options:
- colorlinks - Color item and schematic links according to their quality. Set to true.
- iconizelinks - Add small icons to item, schematic, ability, and quest links. Set to true.
- renamelinks - Change all Torhead database links to use the name of what they link to. Set to true. Note that this will even change things like image links to database pages to their respective name.
You can make your links point to any page you wish, and still display a tooltip. Example:
These can even use linking by name! Example:
This works with all database types ? items, abilities, etc.