Difference between revisions of "Template:Tooltip/doc"
Jump to navigation
Jump to search
(Added parameter for tooltip.obj type. This is for the currently being updated tooltip template.) |
|||
Line 16: | Line 16: | ||
<nowiki>{{Tooltip|Footman Sword | <nowiki>{{Tooltip|Footman Sword|Weapon test|I can write anything as text.}}</nowiki> | ||
{{Tooltip|Footman Sword | {{Tooltip|Footman Sword|Weapon test|I can write anything as text.}} | ||
<nowiki>{{Tooltip|Footman Sword | <nowiki>{{Tooltip|Footman Sword|Weapon test|Text that isn't a link can have tooltip too.|nolink}}</nowiki> | ||
{{Tooltip|Footman Sword | {{Tooltip|Footman Sword|Weapon test|Text that isn't a link can have tooltip too.|nolink}} | ||
{{doc/end}} | {{doc/end}} |
Revision as of 15:47, 27 July 2022
Documentation
[purge]
Creates a tooltip that displays on mouseover. Shortcut: {{tt}}
Parameters:
- Item name.
- Link text. If not specified, uses Item name.
- Anything. If specified, there won't be a link.
Usage:
{{Tooltip|Footman Sword|Weapon test}}
{{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.