Template:Tooltip
{{{1}}}
A simple template used to add tooltips to specified text. Yes.
Usage
{{Tooltip|Normal Text|Tooltip Text}}
Regular usage:
Normal Text
Stored within your mods folder.
Variable ProhibitArea is a... ← example of a long tooltip text
With custom width: currently not supported
Text with a tooltip that has a forced with set to 30em.
With a linebreak inside:
Text with a tooltip inside.
Using a callout template inside with a complex formatting, tooltip align set to left: align currently not supported
Text with a tooltip that has a callout template inside.
Wrapping in tight spaces:
A sentence with a lot of words and a tooltip in a middle of it, which does wrap in a middle of itself onto the next line.
Tooltip still appears above the text.
In a table header:
This a tooltip in the middle of a header |
---|
Table data goes here |
A template used to add hoverable tooltips to words and sentences.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Tooltip Text | 1 | The text that needs to be hovered over
| Content | required |
Tooltip Contents | 2 | The contents of the tooltip to be displayed when hovering
| Content | required |
Text align | text align 3 | [NOT SUPPORTED] Align of the text inside.
| Line | optional |
Width override | width | [NOT SUPPORTED] Overrides the automatic width. Recommended units: em (relative text size).
| Line | optional |
- Main Templates
- Design Templates