More actions
What this is
Styles for this tempalte are found on Template:Tooltip/styles.css
Usage & Examples
{{tt|Normal text|Tooltip text}}
Lorem ipsum, Normal textTooltip text, sed do dolore magna aliqua.
{{tt|Normal text without underline|Tooltip text|line=false}}
Normal text without underlineTooltip text
{{tt|Tooltip text with horizontal rule|Tooltip<hr>Text}}
Tooltip text with horizontal ruleTooltipText
{{tt|{{tt|Nested tooltip|Bottom text}}|Top text}}
Nested tooltipBottom textTop text
{{tt|left-aligned text|Tooltip text|text-align=left}}
left-aligned textTooltip text
Notes
- Do not use
<hr />inside tooltips!- Use
<span class="hr"></span>instead. - This is due to mw parser spawning random linebreaks if
<hr />is used.
- Use
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.