Difference between revisions of "Template:Tltt"

From MINR.ORG WIKI
(Usage: known problems)
(Usage: right here)
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 the curly braces. (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: {{tltt|tltt|Template link with tooltip}}!)
  
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.
  
 
===Known problems===
 
===Known problems===

Revision as of 23:13, 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: {{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.

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.