Module:File link/doc: Difference between revisions

From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
Content added Content deleted
(add the remaining methods)
(→‎Class: better description)
Line 162: Line 162:
</source>
</source>


Adds an HTML class to the file link. <var>s</var> must either be nil or a string value.
Adds a <code>class</code> parameter to image links. The MediaWiki software adds this parameter to the <code>class="..."</code> attribute of the image's <code><nowiki><img /></nowiki></code> element when the page is rendered into HTML. <var>s</var> must either be nil or a string value.


=== Lang ===
=== Lang ===