Jump to content

Template:Hover: Difference between revisions

From Arelith Wiki
Mattamue (talk | contribs)
hover template, sticking with a simple span title since hard (or impossible) to do anything else without access to real style or classes to be able to use hover selector
 
Mattamue (talk | contribs)
actuallyn hijacking abbr and newpage builtin class
 
Line 1: Line 1:
<includeonly><span title="{{{2|}}}" style="border-bottom: 1px dotted black;">{{{1|}}}</span></includeonly><noinclude>
<includeonly><abbr class="newpage" title="{{{2|}}}">{{{1|}}}</abbr></includeonly><noinclude>


{{hover|If I only know one thing:|It's that only 90s kids will know that dotted underline means hover for more info.}}
{{hover|If I only know one thing:|It's that only 90s kids will know that dotted underline means hover for more info.}}

Latest revision as of 02:22, 23 March 2023


If I only know one thing:

Usage

{{hover|This is the main text (hover to see the hover text):|This is the hover text.}} turns into This is the main text (hover to see the hover text):