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

Template:Tippytt: Difference between revisions

Template page
Content added Content deleted
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<span class="tooltip" {{ #ifeq: {{{line|true}}} | false | style="border-bottom: 0;" }}>{{{1}}}<span class="tooltiptext" style="{{#if:{{{text-align|}}}|text-align:{{{text-align|default}}};}}">{{{2}}}</span></span>
<div id ="owadio">{{{1}}}</div>
</includeonly><noinclude> <!--->Change shit here later ah<!--->
</includeonly><noinclude> <!--->Change shit here later ah<!--->
== What this is ==
== What this is ==

Latest revision as of 16:29, 17 July 2023

What this is

A template to write tooltips!

Usage & Examples

{{Tippytt|Normal text|Tooltip text}}

Lorem ipsum, Normal textTooltip text , sed do dolore magna aliqua.

{{Tippytt|Normal text without underline|Tooltip text|line=false}}

Normal text without underlineTooltip text

{{Tippytt|Tooltip text with horizontal rule|Tooltip<hr>Text}}
Tooltip text with horizontal ruleTooltip
Text
{{Tippytt|{{Tippytt|Nested tooltip|Bottom text}}|Top text}}

Nested tooltipBottom text Top text

{{Tippytt|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.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.