Template:Rollover: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (Changed protection level for "Template:Rollover" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
 
Line 1: Line 1:
<span {{#if:{{{3|}}}|class="explain"}} title="{{#replace:{{{2}}}|"|&#34;}}">{{{1}}}</span><noinclude>
<span {{#if:{{{3|}}}|class="explain"}} title="{{#replace:{{{2|}}}|"|&#34;}}">{{{1}}}</span><noinclude>
==Example==
==Example==
{{rollover|SmashWiki|A NIWA wiki|y}}
{{rollover|SmashWiki|A NIWA wiki|?}}


==Usage==
==Usage==
A simple wrapper for creating rollover text.
A simple wrapper for creating rollover text.


<code><nowiki>{{rollover|the text you want to display|the text you want in the rollover|put a "y" here to apply a dotted underline and a "?" cursor on rollover}}</nowiki></code>
<code><nowiki>{{rollover|the text you want to display|the text you want in the rollover|put a "?" here to apply a dotted underline and ? cursor on rollover}}</nowiki></code>


Do not use this on talk pages, as it adds an unnecessary layer of comprehension difficulty.
Do not use this on talk pages, as it adds an unnecessary layer of comprehension difficulty.


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 11:23, September 16, 2022

{{{1}}}

Example

SmashWiki

Usage

A simple wrapper for creating rollover text.

{{rollover|the text you want to display|the text you want in the rollover|put a "?" here to apply a dotted underline and ? cursor on rollover}}

Do not use this on talk pages, as it adds an unnecessary layer of comprehension difficulty.