Difference between revisions of "Template:Hover"

From Yugipedia
Jump to: navigation, search
(TagSync no longer exists)
(fixed the quote not working thing)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span class="hovertext" title="{{{2|}}}">{{{1|}}}</span></includeonly><noinclude>{{Tlx|hover}} is used to display some normal text which will display some extra info when hovered over.
+
<includeonly><{{ #if: {{{el|}}} | {{{el}}} | span }} class="explain" title="{{ #replace: {{{2}}} | " | &quot; }}">{{{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==
Line 5: Line 5:
 
* ''text'' is the text displayed on the page. This should be restricted to a single set of words or a name.
 
* ''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'' is the text that will be displayed when hovered over.
* ''hovertext'' cannot use breaks, wikitext, or the " character without breaking.
+
* ''hovertext'' cannot use breaks or wikitext without breaking.
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 01:25, 23 August 2015

{{hover}} is used to display some normal text which will display some extra info when hovered over.

Usage[edit]

{{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 or wikitext without breaking.