Template:Tooltip

From Stoneshard wiki
Revision as of 01:47, 26 July 2022 by Psojed (talk | contribs)
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}}
{{Tooltip|Waterskin|Consumable}} (Work in Progress)

[[Footman Sword|{{#tip-text: Weapon test|

Footman Sword
Sword sword03

Armor Penetration: +10%
 
Block Chance: +7%
Block Power: +6
Counter Chance: +6%
 
Skills Energy Cost: +5%
 
Durability: metal/metal

Most suitable for a fight in tight formation.
Price1250

Footman Sword
]]

[[Gambeson|{{#tip-text: Armor test|

Gambeson
Common

Physical Resistance: +8%
 
Bleed Resistance: +10%
 
Block Chance: +4%
Dodge Chance: +3%
 
Durability: /

Data does not exist.
Price

Gambeson

[[Category:]]]] [[Cleaving Strike|{{#tip-text: Skill|

Cleaving Strike
Common

Durability: /

Data does not exist.
Price

Cleaving Strike

[[Category:]]]] [[Waterskin|{{#tip-text: Consumable|

Waterskin
Common

Thirst: -25%
Intoxication Change: -0.01% (30 t)
 
Durability: /

Data does not exist.
Price

Waterskin

[[Category:]]]]

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

[[Footman Sword|{{#tip-text: Weapon test|

Footman Sword
Sword sword03

Armor Penetration: +10%
 
Block Chance: +7%
Block Power: +6
Counter Chance: +6%
 
Skills Energy Cost: +5%
 
Intoxication Change: -0.01% (30 t)
 
Durability: metal/metal

Most suitable for a fight in tight formation.
Price1250

Footman Sword
]]


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

[[Footman Sword|{{#tip-text: Weapon test|

Footman Sword
Sword sword03

Armor Penetration: +10%
 
Block Chance: +7%
Block Power: +6
Counter Chance: +6%
 
Skills Energy Cost: +5%
 
Intoxication Change: -0.01% (30 t)
 
Durability: metal/metal

Most suitable for a fight in tight formation.
Price1250

Footman Sword
]]