Difference between revisions of "Template:Tooltip"
Jump to navigation
Jump to search
m |
|||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#if:{{{4|}}}|{{#tip-text: {{{3|{{{1|}}}}}}|{{Tooltip hover box |title= {{{{{2}}}|{{{1}}}}}}}}}|[[{{{1|}}}|{{#tip-text: {{{3|{{{1|}}}}}}|{{Tooltip hover box |title= {{{{{2}}}|{{{1}}}}}}}}}]]}}</includeonly> | |||
<noinclude>{{doc}} | |||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 17:43, 27 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}} {{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.