Template:Rollover: Difference between revisions

no edit summary
mNo edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
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>