42,326
edits
mNo edit summary |
mNo edit summary |
||
Line 27: | Line 27: | ||
Luigi Artwork - Mario Party 7.png|[[Luigi]] | Luigi Artwork - Mario Party 7.png|[[Luigi]] | ||
NSMBDS Bowser Artwork.png|[[Bowser]] | NSMBDS Bowser Artwork.png|[[Bowser]] | ||
</gallery> | |||
</pre> | |||
== Advanced options == | |||
In rare instances, it may be necessary to change the image widths, heights, and even background color in order to display them properly in a gallery. | |||
This can be accomplished using the <code>widths</code>, <code>heights</code>, and <code>class</code> parameters, respectively. | |||
The following background color classes are available: <code>blackbg</code>, <code>graybg</code> | |||
=== Example === | |||
<gallery class="blackbg" widths="50" heights="50"> | |||
SM64 Asset Sprite CS Mario.png|Mario | |||
SM64 Asset Sprite CS Coin.png|Yellow Coin | |||
SM64 Asset Sprite CS Power Star.png|Power Star | |||
</gallery> | |||
==== Source code ==== | |||
<pre> | |||
<gallery class="blackbg" widths="50" heights="50"> | |||
SM64 Asset Sprite CS Mario.png|Mario | |||
SM64 Asset Sprite CS Coin.png|Yellow Coin | |||
SM64 Asset Sprite CS Power Star.png|Power Star | |||
</gallery> | </gallery> | ||
</pre> | </pre> |