Template:Tooltip/doc

From EVE University Wiki
< Template:Tooltip
Revision as of 04:54, 17 September 2020 by Adam Cion (talk | contribs) (Add test case for blocklike tooltip styling)
Jump to: navigation, search
Main article: Template:Tooltip

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 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. Keep in mind there will tend to be block-style wrapping around the tooltip due to paragraphs added on either side of the tooltip.