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
Line 1: Line 1:
<includeonly><span class="owadio" {{ #ifeq: {{{line|true}}} | false | style="border-bottom: 0;" }}>{{{1}}}<span class="owadiotext" style="{{#if:{{{text-align|}}}|text-align:{{{text-align|default}}};}}">{{{2}}}</span></span></includeonly><noinclude> <!--->Change shit here later ah<!--->
<includeonly><owadio>{{{1}}}</owadio/></includeonly><noinclude> <!--->Change shit here later ah<!--->
== What this is ==
== What this is ==
A template to write tooltips!
A template to write tooltips!

Revision as of 19:24, 16 June 2023

What this is

A template to write tooltips!

Usage & Examples

{{Tippytt|Normal text|Tooltip text}}

Lorem ipsum, <owadio>Normal text</owadio/>, sed do dolore magna aliqua.

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

<owadio>Normal text without underline</owadio/>

{{Tippytt|Tooltip text with horizontal rule|Tooltip<hr>Text}}

<owadio>Tooltip text with horizontal rule</owadio/>

{{Tippytt|{{Tippytt|Nested tooltip|Bottom text}}|Top text}}

<owadio><owadio>Nested tooltip</owadio/></owadio/>

{{Tippytt|left-aligned text|Tooltip text|text-align=left}}

<owadio>left-aligned text</owadio/>

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.