Difference between revisions of "Template:Tooltip"

From Stoneshard wiki
Jump to navigation Jump to search
(Created page with "<includeonly>[[{{{1}}}|{{#tip-text:{{{2|{{{1}}}}}}|{{ {{{1|Tooltip hover box}}}|title= {{Weapon_test|{{{1}}}}}}}}}]]</includeonly><noinclude>{{doc}} Category:Formatting templates </noinclude>")
 
Line 1: Line 1:
<includeonly>[[{{{1}}}|{{#tip-text:{{{2|{{{1}}}}}}|{{ {{{1|Tooltip hover box}}}|title= {{Weapon_test|{{{1}}}}}}}}}]]</includeonly><noinclude>{{doc}}
<includeonly>[[{{{1|}}}|{{#tip-text:{{{2|{{{1|}}}}}}|{{ {{{1|Tooltip hover box}}}|title= {{Weapon_test|Footman Sword}}}}}}]]</includeonly><noinclude>{{doc}}
[[Category:Formatting templates]]
[[Category:Formatting templates]]
</noinclude>
</noinclude>

Revision as of 01:39, 26 July 2022

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}}
{{Tooltip|Waterskin|Consumable}} (Work in Progress)

Weapon test Armor test Skill Consumable

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

Weapon test


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

Weapon test