Template:Tooltip: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
imported>Wekhter
mNo edit summary
Line 1: Line 1:
<includeonly><div class="tooltip">{{{1|{{{tooltipsmall|Dispayed content goes here.}}}}}}<span id="tooltip" style="width:{{{width|}}};{{#if:{{{noback|}}}|background:none;border:none;|}}">{{{2|{{{tooltipbig|Tooltip goes here.}}}}}}</span></div></includeonly><noinclude><pre>
<includeonly><span class="tooltip">{{{1|{{{tooltipsmall|Dispayed content goes here.}}}}}}<span id="tooltip" style="width:{{{width|}}};{{#if:{{{noback|}}}|background:none;border:none;|}}">{{{2|{{{tooltipbig|Tooltip goes here.}}}}}}</span></span></includeonly><noinclude><pre>
{{Tooltip
{{Tooltip
|content= displayed content goes here.              (will also take the first field if it isn't named)
|content= displayed content goes here.              (will also take the first field if it isn't named)

Revision as of 00:13, 26 August 2021

{{Tooltip
|content= displayed content goes here.              (will also take the first field if it isn't named)
|tooltip= content displayed when hovered goes here. (will also take the second field if niether 1 or 2 are named)
|width= Ex: 200px                                   (Required if you need it to expand beyond the width of Content. Uses CSS syntax. Name required.)
}}