Difference between revisions of "Template:Alt"

From Nookipedia, the Animal Crossing wiki
(Created page with "<span {{#if:{{{3|}}}|class="explain"}} title="{{#replace:{{{2|}}}|"|"}}">{{{1}}}</span><noinclude> {{Documentation}}</noinclude>")
 
 
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>
{{Documentation}}</noinclude>
+
{{Documentation}}
 +
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 22:19, November 4, 2022

{{{1}}}

Template documentation (view)


Example

the main text

Usage

This template and documentation are taken from SmashWiki's Rollover template.

This is a simple wrapper for creating alt text, which can be displayed by hovering over, or clicking (the latter is necessary on touchscreen devices.)

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

This is not to be used as a substitute for Template:Note. Generally, do not use this in article bodies or on talk pages, as it adds an unnecessary layer of comprehension difficulty.