Template:Tooltip
From EVE University Wiki
Revision as of 14:23, 1 November 2011 by Sarah schneider (talk | contribs) (new generic tooltip with added support for tables, div elements and other block elements)
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.
Example
{{Tooltip|Sample Display|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.}}
will produce :
Sample Display
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.