Template:Class
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
About
This template provides an experimental new way to add supported classes to gallery images on a per-image basis.
Usage
Add the template to the caption of the gallery image you'd like the class applied to. Each numbered parameter is a class name.
Supported classes
blackbg
/graybg
- Change the background color of the image containerinvert-light
/invert-dark
- Invert the image in the wiki's light or dark mode
Example
<gallery> MarioMP8Artwork.png|[[Mario]]{{class|blackbg}} Luigi Artwork - Mario Party 7.png|[[Luigi]]{{class|graybg}} NSMBDS Bowser Artwork.png|[[Bowser]] </gallery>
Reminder
To apply a class to all images in a gallery, this template isn't needed. Simply use <gallery class="...">
as the gallery's opening tag.