Description
- Adds a simple text tooltip to text.
- Basic guts:
<span style="suppressable line CSS; cursor:help;" title="Tooltip text.">Displayed text.</span>
Syntax
{{Texttip|<text>|<tiptext>}}
Parameters
- 1/text = Text to show. Can include links, but be careful if you don't supply tip text.
- 2/tiptext = Text for tooltip. Don't use double quotes, links or HTML tags.
- noline= - Don't show a dotted underline (no value needed).
Example
{{texttip|Some text|A tooltip for the text.}}
{{texttip|No dotted underline|A tooltip for the text.|noline=}}
- ...yields:
Some text
No dotted underline
TemplateData
Adds a simple text tooltip to text.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 text | Text to be displayed. Can include wikilinks. | String | required |
| Tooltip text | 2 tiptext | Text that shows as a pop-up, mouse-over tooltip. | String | required |
| No line | noline | Determines if the dotted line should be displayed underneath the text. | Boolean | optional |
See also
- Template:Tooltip on Wikipedia