Bước tới nội dung

Bản mẫu:Tltt2/doc

Bách khoa toàn thư mở Wikipedia

Định nghĩa[sửa mã nguồn]

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 mã nguồn]

Like {{tlp|template name|single parameter|A template to refer to templates with parameters. Name stands for 'template link, with parameters'.}} (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|Template link with tooltip}}!)

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.

Vấn đề được biết đến[sửa mã nguồn]

  • 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 mã nguồn]

  • {{tltt}} - cùng với không có tham số mẫu