Difference between revisions of "Template:Tltt"

From MINR.ORG WIKI
(2 cats from {{tl}})
Line 1: Line 1:
<span title="{{{2}}}">{{<span title="{{{2}}}">[[Template:{{{1}}}|{{{1}}}]]</span>}}</span><noinclude>
+
<tt><span title="{{{2}}}">{{<span title="{{{2}}}">[[Template:{{{1}}}|{{{1}}}]]</span>}}</span><noinclude></tt>
  
 
===Meaning===
 
===Meaning===
'''tltt''' stands for '''"template link with [[tooltip]]"'''
+
'''tltt''' stands for '''"template link with [[tooltip]]". "tt" also can stand for the <nowiki><tt></nowiki> tag that surrounds it. '''
  
 
===Usage===
 
===Usage===
Line 8: Line 8:
  
 
The template is meant to be used in pages such as {{tltt|TestTemplates|Our list of user warning templates}}, where it is desirable to provide a bit more explanation for a template than what its name reveals.
 
The template is meant to be used in pages such as {{tltt|TestTemplates|Our list of user warning templates}}, where it is desirable to provide a bit more explanation for a template than what its name reveals.
 +
 +
Differently from <nowiki>{{tl}}</nowiki>, it contains a  <nowiki><tt></nowiki> tag to make all names appear in [[non-proportional font]].
  
 
===Known problems===
 
===Known problems===

Revision as of 02:54, 14 February 2007

{{[[Template:{{{1}}}|{{{1}}}]]}}

Meaning

tltt stands for "template link with tooltip". "tt" also can stand for the <tt> tag that surrounds it.

Usage

Like {{tl}} (see documentation), with an additional parameter for the tooltip. This will be displayed when user hovers over the curly braces. (Try it right here: {{tltt}}!)

The template is meant to be used in pages such as {{TestTemplates}}, where it is desirable to provide a bit more explanation for a template than what its name reveals.

Differently from {{tl}}, it contains a <tt> tag to make all names appear in non-proportional font.

Known problems

  • The text only displays when user hovers over the curly braces, not over the link itself.
  • It is not possible to include double quotes in the text. Use single quotes instead.