Difference between revisions of "Template:Tltt"

From MINR.ORG WIKI
(self-reference)
(Usage: known problems)
Line 5: Line 5:
  
 
===Usage===
 
===Usage===
Like {{tltt|tl|A template to refer to templates. Name stands for 'template link'.}} (see [[Template:Tl/doc|documentation]]), with an additional parameter for the tooltip. This will be displayed when user hovers over it. (Try it right here!)
+
Like {{tltt|tl|A template to refer to templates. Name stands for 'template link'.}} (see [[Template:Tl/doc|documentation]]), with an additional parameter for the tooltip. This will be displayed when user hovers over the curly braces. (Try it right here!)
  
 
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.  
  
Drawbacks:
+
===Known problems===
* The text only displays when user hovers over the curly braces.
+
* 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.
 
* It is not possible to include double quotes in the text. Use single quotes instead.
 
</noinclude>
 
</noinclude>

Revision as of 23:12, 14 January 2007

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

Meaning

tltt stands for "template link with tooltip"

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!)

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.

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.