|
|
| (12 intermediate revisions by 5 users not shown) |
| Line 1: |
Line 1: |
| Generic tooltip template.
| | <includeonly><span class='uniwiki-tooltip' style='border-bottom:1px dotted;'>{{{1|}}}<span class='uniwiki-tooltip-frame' style='position:absolute; background-color: var(--background-color-neutral);'>{{{2|}}}</span></span></includeonly><noinclude> |
| ==Usage==
| | {{documentation}} |
| <br> | | </noinclude> |
| <font style='size:120%;color:white;'><nowiki>{{Tooltip|displayed_text|tooltip_text}}</nowiki></font> | |
| <br><br>
| |
| | |
| *displayed_text : text you want to display, can be a wiki link or normal text.
| |
| *tooltip_text : text you want to display on the tooltip. There's a maximum width if you want to include images.
| |
| | |
| ==Advanced Usage==
| |
| <br>
| |
| <font style='size:120%;color:white;'><nowiki>{{Tooltip|displayed_text|tooltip_text|offset_x|offset_y}}</nowiki></font>
| |
| <br><br>
| |
| | |
| *offset_x : x-axis tooltip position relative to the displayed text
| |
| *offset_x : y-axis tooltip position relative to the displayed text
| |
| | |
| [[Category:Template]]
| |
| <includeonly><onlyinclude><span class='uwiki-tooltip'>{{{1|}}}<span class='frame' style='top: {{{3|auto}}};left: {{{4|auto}}};'><span class='top'></span><span class='content'>{{{2|}}}</span><span class='bottom'></span></span></span></onlyinclude></includeonly>
| |