Difference between revisions of "Template:Hover"
Dinoguy1000 (talk | contribs) (allow element to be changed from span) |
Dinoguy1000 (talk | contribs) (try replacing double quotes in the title text with ") |
||
Line 1: | Line 1: | ||
− | <includeonly><{{ #if: {{{el|}}} | {{{el}}} | span }} class="explain" title="{{{2| | + | <includeonly><{{ #if: {{{el|}}} | {{{el}}} | span }} class="explain" title="{{ #replace: {{{2}}} | " | " }}">{{{1}}}</{{ #if: {{{el|}}} | {{{el}}} | span }}></includeonly><noinclude>{{Tlx|hover}} is used to display some normal text which will display some extra info when hovered over. |
==Usage== | ==Usage== |
Revision as of 19:20, 27 March 2015
{{hover}}
is used to display some normal text which will display some extra info when hovered over.
Usage
{{hover|text|hovertext}}
- text is the text displayed on the page. This should be restricted to a single set of words or a name.
- hovertext is the text that will be displayed when hovered over.
- hovertext cannot use breaks, wikitext, or the " character without breaking.