Template:Tt
{{{1}}}
Template documentation
View or edit this documentation. (About template documentation)
Note: portions of the template sample may not be visible without values provided.
{{tt}} stands for tooltip. It is used to create a small text box that appears when a user hovers over the specified text, providing additional context or information about that text.
Usage
{{tt|regular text|tooltip (hover) text}}
Template fields
- 1 - regular text (text that should be displayed regularly)
- 2 - tooltip text (text that should be displayed on hover)
- This content should be plaintext. Wikicode and html tags do not work in the tooltip text.
- Quotation marks (
") also do not work in the tooltip text. Instead, use the html entity".
TemplateData
This template creates a tooltip (small text box that appears upon hovering over the specified text).
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Regular text | 1 | Text that should be displayed regularly | Line | required |
| Tooltip text | 2 | Text that should be displayed as tooltip, i.e. on hovering | Line | required |
Examples
{{tt|Satoshi|Ash}}
Satoshi
{{tt|Fushigidane|Bulbasaur}}'s Mysterious Flower Garden
Fushigidane's Mysterious Flower Garden
Known Issues
- Currently, Tooltips created using
{{tt}}are not accessible on touchscreen devices like mobiles and tables due to the lack of a pointing device (such as a mouse) to hover over the regular text.