Template:Tooltip: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
imported>Kiokurashi
No edit summary
Line 1: Line 1:
<includeonly><div class="tooltip">{{{1|{{{tooltipsmall|Dispayed content goes here.}}}}}}<span id="tooltip" style="width:{{{width|}}}">{{{2|{{{tooltipbig|Tooltip goes here.}}}}}}</span></div></includeonly><noinclude><pre>
<includeonly><div class="tooltip">{{{1|{{{tooltipsmall|Dispayed content goes here.}}}}}}<span id="tooltip" style="width:{{{width|}}};background:none;">{{{2|{{{tooltipbig|Tooltip goes here.}}}}}}</span></div></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 05:51, 27 July 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.)
}}