Editing Template:Tltt

From MINR.ORG WIKI

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
<kbd title="{{{2}}}">&#123;&#123;[[Template:{{{1}}}|{{{1}}}]]{{#if:{{{par|}}}|{{!}}{{{par}}}}}{{#if:{{{par2|}}}|{{!}}{{{par2}}}}}&#125;&#125;</kbd><noinclude>
+
<span title="{{{2}}}">{{<span title="{{{2}}}">[[Template:{{{1}}}|{{{1}}}]]</span>}}</span><noinclude>
{{documentation}}
+
 
 +
===Meaning===
 +
'''tltt''' stands for '''"template link with [[tooltip]]"'''
 +
 
 +
===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!)
 +
 
 +
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:
 +
* 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>

Please note that all contributions to MINR.ORG WIKI may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see MINR.ORG WIKI:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)