Bản mẫu:Hover title
(Đổi hướng từ Bản mẫu:H:title)
{{{2}}}
Mục đích[sửa mã nguồn]
This template assigns an HTML title attribute to a given block of text. This causes a tooltip to be displayed when the user hovers over the text with their cursor.
Cách sử dụng[sửa mã nguồn]
{{H:title |spantitle |label |link=yes/no (defaults to "no") |dotted=yes/no (defaults to "yes") }}
Các ví dụ[sửa mã nguồn]
- {{H:title|Hello|ví dụ}} đưa ra ví dụ.
- {{H:title|Hello|ví dụ|link=yes}} đưa ra ví dụ.
- {{H:title|Hello|ví dụ|dotted=no}} đưa ra ví dụ.
- {{H:title|Hello|ví dụ|link=yes|dotted=no}} đưa ra ví dụ.
Accessibility issue[sửa mã nguồn]
This template uses a hover attribute, which is discouraged by Wikipedia:Manual of Style (accessibility)#Text.
For marking abbreviations specifically, please use {{abbr}} instead, because it is accessible to screen reader users.