Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Tooltip/doc

Template page
Revision as of 21:23, 1 January 2023 by dustloop>TarkusLee (Created page with "== What this is == Styles for this tempalte are found on Template:Tooltip/styles.css == Usage & Examples == <pre><nowiki>{{tt|Normal text|Tooltip text}}</nowiki></pre> Lorem ipsum, {{tt|Normal text|Tooltip text}}, sed do dolore magna aliqua. <pre><nowiki>{{tt|Normal text without underline|Tooltip text|line=false}}</nowiki></pre> {{tt|Normal text without underline|Tooltip text|line=false}} <pre><nowiki>{{tt|Tooltip text with horizontal rule|Tooltip<hr>Text}}</nowiki>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 ruleTooltip
Text
{{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.
MediaWiki Appliance - Powered by TurnKey Linux