Template:Tooltip: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
mNo edit summary
 
(9 intermediate revisions by 4 users not shown)
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>{{#if:{{{nospace|}}}||&nbsp;}}<span class="simple-tooltip simple-tooltip-inline tooltipstered" {{#if:{{{nocolor|}}}||style="color: #b847cb;"}} data-simple-tooltip="{{{1|}}}">{{{2|{{{text|More Info.}}}}}}{{#if:{{{symbol|}}}|<sup>{{{symbol}}}</sup>}}</span></includeonly><noinclude><pre>{{Tooltip
{{Tooltip
| "Text to be shown on hover."
|content= displayed content goes here.             (will also take the first field if it isn't named)
| "Text that is shown on the page normally."
|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.)
}}</pre></noinclude>
}}</pre></noinclude>

Latest revision as of 18:13, 1 October 2024

{{Tooltip
 | "Text to be shown on hover."
 | "Text that is shown on the page normally."
}}