Template:Tt/doc

From Tiny Rogues Wiki
Revision as of 01:46, 23 December 2023 by Ken (talk | contribs) (Created page with "== Usage & Examples == <code><nowiki>{{tt|Normal text|Tooltip text}}</nowiki></code><br> {{tt|Normal text|Tooltip text}} <br> <code><nowiki>{{tt|Normal text without underline|Tooltip text|line=false}}</nowiki></code><br> {{tt|Normal text without underline|Tooltip text|line=false}} <br> <code><nowiki>{{tt|Tooltip with wikitext|File:SuryaPassive1.png Shamanism}}</nowiki></code><br> {{tt|Tooltip with wikitext|File:SuryaPassive1.png Shamanism}} <br> <code>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage & Examples

{{tt|Normal text|Tooltip text}}
Normal textTooltip text

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

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

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

Tooltip text with horizontal ruleTooltip
Text

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

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

A template to spawn tooltipped content.

Template parameters

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