Template:Tooltip: Difference between revisions

From Songs of Syx Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<!--<abbr style="border-bottom:1px dotted" title="{{#tag:nowiki|{{{2}}}}}">{{{1}}}</abbr>--><span style="border-bottom: 1px dotted; cursor: help;" title="{{{2}}}">{{{1}}}</span>
<!--<abbr style="border-bottom:1px dotted" title="{{#tag:nowiki|{{{2}}}}}">{{{1}}}</abbr>--><span style="border-bottom: 1px dotted; cursor: help;" title="{{{2}}}">{{{1}}}</span><noinclude>
<noinclude>[[Category:Templates]]</noinclude>
<br />
 
This template creates dotted underlined text that provides more text when the cursor hovers over it.<br />
The format is used like this: <code><nowiki>{{tooltip|display text|tooltip text}}</nowiki></code>.<br />
'''''Note: This template may not work with formats such as italics and bold. In that case, a different method of adding a tooltip will need to be used.'''''
[[Category:Templates]]</noinclude>

Revision as of 17:04, 1 June 2021

{{{1}}}

This template creates dotted underlined text that provides more text when the cursor hovers over it.
The format is used like this: {{tooltip|display text|tooltip text}}.
Note: This template may not work with formats such as italics and bold. In that case, a different method of adding a tooltip will need to be used.