Template:Hover: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
mNo edit summary
m (Protected "Template:Hover" ([Edit=Allow only KHWiki staff] (indefinite) [Move=Allow only KHWiki staff] (indefinite)))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span class="explain" title="{{{2|}}}" style="border-bottom:{{{s|1px}}} dotted {{{3|#777}}}">{{{1|}}}</span></includeonly><noinclude>
<includeonly><span class="explain" title="{{#replace:{{{2|}}}|"|&#34;}}" style="border-bottom:{{{s|1px}}} dotted {{{3|#777}}}">{{{1}}}</span></includeonly><noinclude>
==Documentation==
==Documentation==
This template is used to display a string of normal text which will provide additional information as a tooltip when the reader's mouse cursor hovers over the text.
This template is used to display a string of normal text which will provide additional information as a tooltip when the reader's mouse cursor hovers over the text.
This template has been adapted from [[w:c:anime|Animepedia]] and [[w:c:aselia|Aselia]]. See [[w:c:anime:Template:Hover|this page]] for full documentation.


==Usage==
==Usage==

Latest revision as of 15:39, 16 September 2022

Documentation

This template is used to display a string of normal text which will provide additional information as a tooltip when the reader's mouse cursor hovers over the text.

Usage

{{hover|text|hovertext|color (optional)}}
  • text is the text that is displayed and underlined on the page, highlighting the cursor hover zone.
  • hovertext is the text that will be displayed when the cursor hovers over the above text. This parameter will not accept line breaks (<br>), wikitext, or quotation marks ("), because these items will cause the template to function incorrectly.