Difference between revisions of "Template:Tooltip"

From Underrail Wiki
Jump to navigation Jump to search
(include documentation, change to span element)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<tt style="border-bottom: 1px dotted; cursor: help;" title="<nowiki>{{{1}}}</nowiki>">{{{2}}}</tt>
+
<span style="border-bottom: 1px dotted; cursor: help;" title="{{{1}}}">{{{2}}}</span><noinclude>
 +
 
 +
{{documentation}}</noinclude>

Latest revision as of 03:19, 15 April 2018

{{{2}}}

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Tooltip/doc to view this documentation. (edit) (How does this work?)
Description
This template is used for to insert a visibly indicated (dotted underline and help cursor) tooltip into any inline text, similar to Template:Difficulty.
Syntax
Insert this template with {{tooltip|tooltip text|article body text|}}.
Example
{{tooltip|chop-off the fractional part|round toward zero}} results in round toward zero