Template:Tooltip/doc

Parameters

 * 1: Tooltip title.
 * 2: (Optional) Tooltip description/flavour text/lore.
 * parentclass: (Optional) Parent element class.

Usage
A script displays the tooltip when the user hovers over the element this template is placed in. If JS isn't available, a standard browser tooltip with no formatting or description is shown.

This template doesn't output a HTML element, rather it outputs attributes which are are placed in a HTML element.

Standard formatting codes can be used in the tooltip (prefixed with  rather than , and the description can also use   to insert line breaks. All special characters  can be escaped by prefixing them with a  , including the backward slash itself.

Examples
Parent container produces: Parent container

&b&oIron Sword produces: Parent container

&nMinecraft Formatting produces: Parent container