Template:Hover: Difference between revisions
From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><span title="{{{2|}}}" style="border-bottom: 1px dotted #777777; cursor: help;">{{{1|}}}</span></includeonly><!-- | <includeonly><span title="{{{2|}}}" style="border-bottom: 1px dotted {{{3|#777777}}}; cursor: help;">{{{1|}}}</span></includeonly><!-- | ||
--><noinclude> | --><noinclude> | ||
Line 8: | Line 8: | ||
==Usage== | ==Usage== | ||
<pre>{{hover|text|hovertext}}</pre> | <pre>{{hover|text|hovertext|color (optional)}}</pre> | ||
*'''''text''''' is the text that is displayed and underlined on the page, highlighting the cursor hover zone. | *'''''text''''' is the text that is displayed and underlined on the page, highlighting the cursor hover zone. |
Revision as of 17:47, 7 March 2016
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 has been adapted from Animepedia and Aselia. See this page for full documentation.
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.