Template:Tooltip: Difference between revisions

From DDraceNetwork
No edit summary
(put category outside of <includeonly>)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{{DISPLAYTITLE:Template:Tooltip}}
<includeonly><span style="cursor:help; border-bottom:1px {{{3|dotted}}} #000" title="{{{2}}}">{{{1}}}</span></includeonly><noinclude>
[[Category:Templates]]<span style="cursor:help; border-bottom:1px {{{3|dotted}}} #000" title="{{{2}}}">{{{1}}}</span></includeonly><noinclude>
This template adds a description tooltip on a given text.
This template adds a description tooltip on a given text.


Line 7: Line 6:
{{tooltip|visible text|description text}}
{{tooltip|visible text|description text}}
</noinclude>
</noinclude>
[[Category:Templates]]

Latest revision as of 07:59, 13 May 2024

This template adds a description tooltip on a given text.

Usage :

{{Tooltip|Visible text|Description text}}

visible text