Information: If you want to test this template, please use Sandbox.
This documentation is transcluded from Template:Tt/doc.
Template:Tt: Difference between revisions
From Elwiki
(nvm) |
m (nvm) Tag: Undo |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<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: | <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><{{{span|div}}}>{{{1|}}}</{{{span|div}}}></{{{span|div}}}></includeonly><noinclude>{{Doc}}</noinclude> |
Latest revision as of 03:44, 14 July 2023
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Tooltipped element | 1 | no description | String | optional |
Tooltip content | 2 | no description | String | optional |
Position | pos | no description
| String | optional |
Line | line | no description
| Boolean | optional |
Style | style | no description | String | optional |
Align | align | no description
| Unknown | optional |