Template: Tt: Difference between revisions

From The Lost Media Wiki
Jump to: navigation, search
(Tooltip template.)
 
mNo edit summary
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>


'''Note:''' using a quotation mark (") in the second parameter will '''break''' the template. Use <code>&amp;quot;</code> instead.
'''Note:''' using a quotation mark (") in the second parameter will '''break''' the template. Use <code>&amp;quot;</code> instead.
[[Category: General wiki templates]]</noinclude>
[[Category: General wiki templates]]</noinclude>

Revision as of 01:55, 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 &quot; instead.