Template:Hover/doc

From Fire Emblem Heroes Wiki
Jump to: navigation, search
Template-info.svg Documentation

Usage[edit source]

{{Hover|display text|hover text}}

display text

How to use with links[edit source]

[[Weapons|{{Hover|Weapons|hover text}}]]

Weapons Green check.svg

[[{{Hover|Weapons|hover text}}]]

[[Weapons]] Dark Red x.svg

{{Hover|[[Weapons]]|hover text}}

Weapons Dark Red x.svg

Comparison of tooltip generating methods[edit source]

Works with Javascript disabled Works on all skins Wikitext in display text Wikitext in tip text Extra accessibility problems
<abbr> Yes Yes Yes Parsers only
  • <abbr> is intended to be used only with abbreviations and acronyms, misuse causes accessibility problems
{{Tooltip}} Yes No Yes Yes
  • Shows tooltip text and display text right next to each other when failing to work or read by a machine (e.g. search results)
{{#tip-text}} No No Parsers only Parsers only
{{Hover}} Yes Yes Yes Parsers only

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.