Template:TooltipInline

From Nova Sector 13
Jump to navigation Jump to search


TooltipInline should not be used recursively.

Test Cases

Base CaseThis is the simplest test of a Tooltip.

This is how a default TooltipInline appears when you create one in the Visual Editor. Tooltip Inlineslike this

Blank tooltip: EMPTY TOOLTIP ALERTEMPTY TOOLTIP TEXT ALERT


Ideally, this paragraph should appear as a single paragraph, where the next bit is a multi word tooltipwith punctuation? with wizardry?, with the comma directly adjacent to the words. This part should still be on the same line.


For some reason, recursive tooltips don't love span, choosing to dump everything after the tooltip into the deepest tooltip instead of... fully after the top-most tooltip.

An in-line tooltip that displays a short text with a dotted line underneath, which when moused over, displays a gray box overtop the text, with its own tooltip text. Should not be used recursively, as Span is not a very stable keyword.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Display TextDisplay Text text

The text that is displayed on the page. It will appear with a dotted line underneath, and the user will mouse over it to expand a tooltip.

Default
word
Example
Kessler Syndrome
Stringrequired
TooltipTooltip tooltip box

The text that appears in a gray box when the user hovers over the display text. Links are functional, but this template should not be used recursively.

Suggested values
Tooltip
Default
Tooltip Text
Contentrequired