Difference between revisions of "Template:TooltipImage/doc"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{doc/start}} | {{doc/start}} | ||
{{Doc/start}} | |||
This template partially replicates the function of the Imagemap plugin. This template is primarily used together with {{tl|ImageMap}}. It creates the clickable links in specified areas of the image, that also display tooltips on hover. Imagemap uses the html image tag and the tooltips don't work with that, so this template uses divs with links positioned over the images to produce the tooltip on hover. This template is also used by the {{tl|Skill list}} to create a row of Enemy NPC skills. | |||
<nowiki> | |||
{{MapArea|skill_name|left|top|width|height(=width if not specified)|border(optional)}}</nowiki> | |||
Example usage from [[Swords (skill tree)]] | |||
Usage: | Usage: | ||
{{ImageMap|338px|Swords_skilltree.png| | {{ImageMap|338px|Swords_skilltree.png| | ||
{{TooltipImage|Cleaving Strike|35| | {{TooltipImage|Cleaving Strike|35|84|62}} | ||
{{TooltipImage|Blade Maintenance| | {{TooltipImage|Blade Maintenance|135|84|62}} | ||
{{TooltipImage|Keeping Distance| | {{TooltipImage|Keeping Distance|235|84|62}} | ||
{{TooltipImage|Gloat|35|230|62}} | |||
{{TooltipImage|Gloat|35| | {{TooltipImage|Fencer's Stance|135|230|62}} | ||
{{TooltipImage|Fencer's Stance| | {{TooltipImage|Endurance Training|235|230|62}} | ||
{{TooltipImage|Endurance Training| | {{TooltipImage|Honed Edge|85|376|62}} | ||
{{TooltipImage|Onrush|187|376|62}} | |||
{{TooltipImage|Honed Edge|85| | |||
{{TooltipImage|Onrush| | |||
|thumb=right | |thumb=right |
Revision as of 12:40, 28 July 2022
Documentation
[purge]
Documentation
[purge]
This template partially replicates the function of the Imagemap plugin. This template is primarily used together with {{ImageMap}}
. It creates the clickable links in specified areas of the image, that also display tooltips on hover. Imagemap uses the html image tag and the tooltips don't work with that, so this template uses divs with links positioned over the images to produce the tooltip on hover. This template is also used by the {{Skill list}}
to create a row of Enemy NPC skills.
{{MapArea|skill_name|left|top|width|height(=width if not specified)|border(optional)}}
Example usage from Swords (skill tree)
Usage: