Template:Tooltip/doc

From Stoneshard wiki
< Template:Tooltip
Revision as of 11:06, 28 July 2022 by Jdreloded (talk | contribs) (Updated documentation parameters for clarification.)
Jump to navigation Jump to search
Template-info.png Documentation

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

Parameters:

  1. Item name.
  2. Item type. (This must be as it appears in the Usage section/ ie. Weapon test)
  3. Link text. If not specified, uses Item name.
  4. Anything. If specified, there won't be a link.


Usage:

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


Footman Sword


Gambeson


Cleaving Strike


Waterskin


{{Tooltip|Footman Sword|Weapon test|I can write anything as text.}}


I can write anything as text.


{{Tooltip|Footman Sword|Weapon test|Text that isn't a link can have tooltip too.|nolink}}


Text that isn't a link can have tooltip too.