Difference between revisions of "Template:Tooltip/doc"
Jump to navigation
Jump to search
(Updated documentation parameters for clarification.) |
|||
Line 5: | Line 5: | ||
Parameters: | Parameters: | ||
# Item name. | # Item name. | ||
# Item type. | # Item type. (This must be as it appears in the Usage section/ ie. Weapon test) | ||
# Link text. If not specified, uses Item name. | # Link text. If not specified, uses Item name. | ||
# Anything. If specified, there won't be a link. | # Anything. If specified, there won't be a link. | ||
Line 14: | Line 14: | ||
<nowiki>{{Tooltip|Footman Sword|Weapon test}}</nowiki> | <nowiki>{{Tooltip|Footman Sword|Weapon test}}</nowiki> | ||
<nowiki>{{Tooltip|Gambeson|Armor test}}</nowiki> | <nowiki>{{Tooltip|Gambeson|Armor test}}</nowiki> | ||
<nowiki>{{Tooltip|Cleaving Strike|Skill test}}</nowiki> | <nowiki>{{Tooltip|Cleaving Strike|Skill test}}</nowiki> | ||
<nowiki>{{Tooltip|Waterskin|Consumable}}</nowiki> (Work in Progress) | <nowiki>{{Tooltip|Waterskin|Consumable}}</nowiki> (Work in Progress) | ||
Revision as of 11:06, 28 July 2022
Documentation
[purge]
Creates a tooltip that displays on mouseover. Shortcut: {{tt}}
Parameters:
- Item name.
- Item type. (This must be as it appears in the Usage section/ ie. Weapon test)
- Link text. If not specified, uses Item name.
- 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)
{{Tooltip|Footman Sword|Weapon test|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.