Template:Tooltip

From EVE University Wiki
Revision as of 13:52, 14 October 2011 by Sarah schneider (talk | contribs)
Jump to: navigation, search

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

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 DisplayLorem 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.