Difference between revisions of "Template:Hover"

From Yugipedia
Jump to: navigation, search
m (Bot.)
 
(fixed the quote not working thing)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{TagSyncPage}}
+
<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.
</noinclude><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.
 
  
 
==Usage==
 
==Usage==
Line 6: 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.
  
{{TagSync|include: *}}
+
[[Category:Templates]]</noinclude>
[[Category:Templates/shared|{{PAGENAME}}]]</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.