ढाँचा:Tltt2/doc
स्वरूप
This is a documentation subpage for ढाँचा:Tltt2. It contains usage information, categories and other content that is not part of the original ढाँचा page. |
Meaning
[स्रोत सम्पादन]tltt stands for "template link with tooltip". "tt" also stood for the <tt>...</tt>
tags that formerly surrounded it (for compliance with HTML5 these were replaced with <kbd>...</kbd>
, which also displays a monospaced font).
Usage
[स्रोत सम्पादन]Like {{tlp|template name|single parameter}} (see documentation), with an additional parameter for the tooltip.
The tooltip will be displayed when user hovers over the curly braces. (Try it right here: {{tltt2|Sample parameter}}!)
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
[स्रोत सम्पादन]- On some systems, 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.
See also
[स्रोत सम्पादन]- {{tltt}} - same with no sample parameter