Template:Tooltip: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
m (Reverted edits by Wekhter (talk) to last revision by Kiokurashi)
mNo edit summary
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly><div class="tooltip">{{{1|{{{tooltipsmall|Dispayed content goes here.}}}}}}<span style="width:{{{width|}}}">{{{2|{{{tooltipbig|Tooltip goes here.}}}}}}</span></div></includeonly><noinclude>
<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
<pre>
| "Text to be shown on hover."
{{Tooltip
| "Text that is shown on the page normally."
|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.)
}}</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."
}}