Template:Tooltip

From Disney•Pixar CARS Wiki
Jump to navigation Jump to search
Template:Tooltip
{{Tooltip
|text=
|contents=
|wrap=
}}
Help

Shortcut for the {{#tooltip:}} parser function. Supports any and all wikitext markup. If using on an inline element like <span/>, you should apply some kind of underline using the text-decoration: attribute, so readers know something is there.

Parameters
stringtext"Outside" text holding the tooltip
stringcontentsInner contents, to display only when the former is hovered
booleanwrapwrap the result in a <div/> (default true)
Returns
string parser function output

Used by