ಟೆಂಪ್ಲೇಟ್:Hover title/doc
This is a documentation subpage for ಟೆಂಪ್ಲೇಟ್:Hover title. It may contain usage information, categories and other content that is not part of the original ಟೆಂಪ್ಲೇಟ್ page. |
This template is used on approximately ೬೦,೦೦೦ pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Purpose
ಸಂಪೊಲಿಪುಲೆ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, on systems where that is possible.
Note that such content is not visible to, for example, users on mobile devices (who comprise more than half of all Wikipedia readers).
Usage
ಸಂಪೊಲಿಪುಲೆ{{Hover title |spantitle |label |link=yes/no (defaults to "no") |dotted=yes/no (defaults to "yes") }}
wikimarkup except linking may be used within label, but not within spantitle.
Examples
ಸಂಪೊಲಿಪುಲೆ- {{Hover title|Hello|example}} produces example.
- {{Hover title|Hello|example|link=yes}} produces example.
- {{Hover title|Hello|example|dotted=no}} produces example.
- {{Hover title|Hello|example|link=yes|dotted=no}} produces example.
- {{Hover title|Hello|ex'''amp'''le}} produces example.
- [[example|{{Hover title|Hello|text}}]] produces text.
Accessibility issue
ಸಂಪೊಲಿಪುಲೆ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.