Difference between revisions of "Template:Tltt"

From MINR.ORG WIKI
(insert hdl)
m (26 revisions imported: Import Template Tlx and subtemplates)
 
(22 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<span title="{{{2}}}">{{<span title="{{{2}}}">[[Template:{{{1}}}|{{{1}}}]]</span>}}</span><noinclude>
+
<kbd title="{{{2}}}">&#123;&#123;[[Template:{{{1}}}|{{{1}}}]]{{#if:{{{par|}}}|{{!}}{{{par}}}}}{{#if:{{{par2|}}}|{{!}}{{{par2}}}}}&#125;&#125;</kbd><noinclude>
 
+
{{documentation}}
===Meaning===
 
'''tltt''' stands for '''"template link with [[tooltip]]"'''
 
 
 
===Usage===
 
Like [[Template:Tl/doc|template:tl]], with an additional parameter for the tooltip. This will be displayed when user hovers over it.
 
 
 
The template is meant to be used in pages such as [[Template:TestTemplates]], where it is desirable to provide a bit more explanation for a template than what its name reveals.
 
 
 
Drawbacks:
 
* The text only displays when user hovers over the curly braces.
 
* It is not possible to include double quotes in the text. Use single quotes instead.
 
 
</noinclude>
 
</noinclude>

Latest revision as of 20:27, 11 August 2017

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

Template documentation[create]