Difference between revisions of "Template:Tooltip"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(Undo revision 37608 by SurtrFan8511 (talk))
(Fuck you)
Line 25: Line 25:
   visibility: visible;
   visibility: visible;
}
}
}}<div class="tooltip">{{{1|{{{base|text}}}}}}<span class="tooltiptext" style="min-width: {{{width|0}}};">{{{2|{{{tip|{{{tooltip|tip}}}}}}}}}</span></div>}}</includeonly></onlyinclude>
}}<span class="tooltip">{{{1|{{{base|text}}}}}}<span class="tooltiptext" style="min-width: {{{width|0}}};">{{{2|{{{tip|{{{tooltip|tip}}}}}}}}}</span></span>}}</includeonly></onlyinclude>
<noinclude>
<noinclude>
This template does the same thing as <code><nowiki><abbr></nowiki></code> tooltips, except that the tips can be viewed on mobile this time.
This template does the same thing as <code><nowiki><abbr></nowiki></code> tooltips, except that the tips can be viewed on mobile this time.

Revision as of 09:56, 7 September 2020


This template does the same thing as <abbr> tooltips, except that the tips can be viewed on mobile this time.

Usage

{{Tooltip|text1|text2}}

text1text2

{{Tooltip|base=text1|tip=text2}}

text1text2

{{Tooltip|Nether element|[[File:Element dark.png|50px]]}}

Nether elementElement dark.png

{{Tooltip|[[File:Element dark.png|50px]]|Nether element}}

Element dark.pngNether element

{{Tooltip|text1|text2|width=120px}}

text1text2