Template:Tooltip: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
(Created page with "<div class="tooltip">{{{1|{{{tooltipsmall|Dispayed content goes here.}}}}}}<span style="width:{{{width|}}}">{{{2|{{{tooltipbig|Tooltip goes here.}}}}}}</span></div>")
 
imported>Kiokurashi
No edit summary
Line 1: Line 1:
<div class="tooltip">{{{1|{{{tooltipsmall|Dispayed content goes here.}}}}}}<span style="width:{{{width|}}}">{{{2|{{{tooltipbig|Tooltip goes here.}}}}}}</span></div>
<includeonly><div class="tooltip">{{{1|{{{tooltipsmall|Dispayed content goes here.}}}}}}<span style="width:{{{width|}}}">{{{2|{{{tooltipbig|Tooltip goes here.}}}}}}</span></div></includeonly><noinclude>
<pre>
{{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.)
}}</pre></noinclude>

Revision as of 15:03, 25 May 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.)
}}