FANDOM


[[{{{name|{{{1}}}}}}|<span class="ajaxttlink textwhite" style="cursor: help;">{{{name|{{{1}}}}}}</span>]]

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Tooltip/doc to edit this documentation. (How does this work?)

This is a template used to retrieve information stored on other pages and display them in the form of a tooltip.

Syntax

{{Tooltip|source page| caption (optional)| color (optional)| size (optional)}}

will retrieve data wrapped in <div class="tooltip-content"></div> tags, stored on source page. The above syntax can be used on any page and will work, provided the there is any content on source page wrapped in the before mentioned tags.

Basic use

The source page parameter can be called in two different ways:

If the tooltip is called from a standard page:

{{Tooltip|Superbolt}}

gives...

Superbolt <- (hover over the title to see the tooltip)

If the tooltip is called from another template:

{{Tooltip|name=Superbolt}}

gives...

Superbolt <- (hover over the title to see the tooltip)

Optional Caption

An optional caption can be added to the tooltip:

{{Tooltip|Superbolt|Single Enemy Storm Attack}}


gives...

Single Enemy Storm Attack

Optional Color

the link color can be also changed. Default color is White

{{Tooltip|Superbolt|color=blue}}

gives...

Superbolt

This makes use of the color classes available. Full list of color options can be seen here: CT Documentation

Optional Font Size

the font size of the link can be altered as well:

{{Tooltip|Superbolt|size=20}}

gives...

Superbolt

Community content is available under CC-BY-SA unless otherwise noted.