Difference between revisions of "Template:TooltipImage/doc"

From Stoneshard wiki
Jump to navigation Jump to search
(Created page with "{{doc/start}} Creates a tooltip that displays on images with mouseover. Shortcut: {{tl|tt}} Parameters: # Item name. # Item type. # Link text. If not specified, uses Item name. # Anything. If specified, there won't be a link. Usage: <nowiki>{{TooltipImage|Footman Sword|Weapon test}}</nowiki> <nowiki>{{TooltipImage|Gambeson|Armor test}}</nowiki> <nowiki>{{TooltipImage|Cleaving Strike|Skill test}}</nowiki> (Work in Progress) <nowiki>{{TooltipImage|Waterskin|Consum...")
 
Line 21: Line 21:
{{TooltipImage|Cleaving Strike|Skill test}}
{{TooltipImage|Cleaving Strike|Skill test}}
{{TooltipImage|Waterskin|Consumable}}
{{TooltipImage|Waterskin|Consumable}}
<nowiki>{{TooltipImage|Footman Sword|Weapon test|I can write anything as text.}}</nowiki>
{{TooltipImage|Footman Sword|Weapon test|I can write anything as text.}}
<nowiki>{{TooltipImage|Footman Sword|Weapon test|Text that isn't a link can have tooltip too.|nolink}}</nowiki>
{{TooltipImage|Footman Sword|Weapon test|Text that isn't a link can have tooltip too.|nolink}}


{{doc/end}}
{{doc/end}}

Revision as of 21:32, 27 July 2022

Template-info.png Documentation

Creates a tooltip that displays on images with mouseover. Shortcut: {{tt}}

Parameters:

  1. Item name.
  2. Item type.
  3. Link text. If not specified, uses Item name.
  4. Anything. If specified, there won't be a link.


Usage:

{{TooltipImage|Footman Sword|Weapon test}}
{{TooltipImage|Gambeson|Armor test}}
{{TooltipImage|Cleaving Strike|Skill test}} (Work in Progress)
{{TooltipImage|Waterskin|Consumable}} (Work in Progress)