Difference between revisions of "Template:Tooltip"
From EVE University Wiki
m |
m (added usage guide) |
||
Line 1: | Line 1: | ||
− | <includeonly><onlyinclude><span class='uwiki-tooltip'>{{{1|}}} | + | Generic tooltip template. |
− | + | ==Usage== | |
− | + | <br> | |
− | + | <font style='size:120%;color:white;'><nowiki>{{Tooltip|displayed_text|tooltip_text}}</nowiki></font> | |
− | + | <br><br> | |
− | + | ||
− | </span></onlyinclude></includeonly> | + | *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> |
Revision as of 13:50, 14 October 2011
Generic tooltip template.
Usage
{{Tooltip|displayed_text|tooltip_text}}
- 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
{{Tooltip|displayed_text|tooltip_text|offset_x|offset_y}}
- offset_x : x-axis tooltip position relative to the displayed text
- offset_x : y-axis tooltip position relative to the displayed text