Information: 0.2.5 is officially out! Please bear with us while we are working on updating the wiki. This patch is massive so a lot of work will be needed. Enjoy the game in the meantime!

Template:Tt

From Tiny Rogues Wiki
Revision as of 01:44, 23 December 2023 by Ken (talk | contribs) (Created page with "<includeonly><{{{span|div}}} data-tippy-content="x" data-tippy-placement="{{{pos|}}}" style="display: inline-block; {{#ifeq:{{{line|}}}|false||margin-bottom: 3px; text-decoration-style: dotted; text-decoration-thickness: 1px; text-decoration-line: underline; text-decoration-color: inherit; text-underline-offset: 5px;}} {{{style|}}}" class="tippy-btn {{{class|}}}"><span class="content"><{{{span|div}}} style="text-align: {{{align|center}}};">{{{2|}}}</{{{span|div}}}></span...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Information: If you want to test this template, please use Sandbox.
This documentation is transcluded from Template:Tt/doc.

Usage & Examples

{{tt|Normal text|Tooltip text}}

Tooltip text
Normal text


{{tt|Normal text without underline|Tooltip text|line=false}}

Tooltip text
Normal text without underline


{{tt|Tooltip with wikitext|[[File:SuryaPassive1.png]] [[Shamanism]]}}

Tooltip with wikitext


{{tt|Tooltip text with horizontal rule|Tooltip<hr>Text}}

Tooltip
Text
Tooltip text with horizontal rule

{{tt|{{tt|Nested tooltip|Top text}}|Bottom text}}

Bottom text
Top text
Nested tooltip


{{tt|left-aligned text|Tooltip text|text-align=left}}

Tooltip text
left-aligned text


A template to spawn tooltipped content.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Tooltipped element1

no description

Stringoptional
Tooltip content2

no description

Stringoptional
Positionpos

no description

Default
auto
Stringoptional
Lineline

no description

Default
true
Booleanoptional
Stylestyle

no description

Stringoptional
Alignalign

no description

Default
left
Unknownoptional