Template: Tt: Difference between revisions
From The Lost Media Wiki
(Tooltip template.) |
m (Protected "Template:Tt" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<span style="cursor: help; text-decoration-color: currentcolor; text-decoration-line: underline; text-decoration-style: dotted;" title="{{#if:{{{2|}}}|{{{2}}}|tooltip text}}">{{#if:{{{1|}}}|{{{1}}}|inline text}}</span> | <onlyinclude><span style="cursor: help; text-decoration-color: currentcolor; text-decoration-line: underline; text-decoration-style: dotted;" title="{{#if:{{{2|}}}|{{{2}}}|tooltip text}}">{{#if:{{{1|}}}|{{{1}}}|inline text}}</span></onlyinclude> | ||
<noinclude>'''Syntax:''' <code><nowiki>{{Tt|</nowiki>''inline text''|''tooltip text''<nowiki>}}</nowiki></code> | <noinclude>'''Syntax:''' <code><nowiki>{{Tt|</nowiki>''inline text''|''tooltip text''<nowiki>}}</nowiki></code> |
Latest revision as of 01:57, 19 August 2017
inline text
Syntax: {{Tt|inline text|tooltip text}}
Note: using a quotation mark (") in the second parameter will break the template. Use "
instead.