Difference between revisions of "Template:Tooltip/doc"

From Stoneshard wiki
Jump to navigation Jump to search
Line 9: Line 9:




Usage:
Weapon Usage:


  <nowiki>{{Tooltip|Footman Sword|Weapon test}}</nowiki>
  <nowiki>{{Tooltip|Footman Sword|Weapon test}}</nowiki>


{{Tooltip|Footman Sword|Weapon test}}
{{Tooltip|Footman Sword|Weapon test}}
Armor Usage:
<nowiki>{{Tooltip|Footman Sword|Weapon test}}</nowiki>
{{Tooltip|Gambeson|Armor test}}




Line 21: Line 27:




  <nowiki>{{Tooltip|Footman Sword|Weapon test|Text that isn't a link can have tooltip too.|nolink}}</nowiki>
  <!--<nowiki>{{Tooltip|Footman Sword|Weapon test|Text that isn't a link can have tooltip too.|nolink}}</nowiki>


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




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

Revision as of 16:10, 27 July 2022

Template-info.png Documentation

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

Parameters:

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


Weapon Usage:

{{Tooltip|Footman Sword|Weapon test}}


Footman Sword


Armor Usage:

{{Tooltip|Footman Sword|Weapon test}}


Gambeson


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


I can write anything as text.