{{[[Bản mẫu:{{{1}}}|{{{1}}}]]}}

Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

Định nghĩa sửa

tltt stands for "template link with tooltip". "tt" also can stand for the <tt> tag that surrounds it.

Cách sử dụng sửa

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: {{Any template}}!)

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}}, the font is set in monospace, so that all text appears in non-proportional font.

The template also permits up to two named parameters, like so:

{{tltt|Tên bản mẫu|Tooltip text|par=Tham số thứ 1=1|par2=Tham số thứ 2=2}}

Kết quả:

{{Tên bản mẫu|Tham số thứ 1=1|Tham số thứ 2=2}}

Vấn đề được biết đến sửa

  • 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.

Xem thêm sửa

  • {{tltt2}} - allows one sample parameter
  • {{tltt/tip}} - inform user that tooltips can be displayed
  • {{tltts}} - where subst: is required