Template:Img

Template page
Revision as of 18:27, 28 October 2023 by Gelthor (talk | contribs) (2 revisions imported: Imported from https://strategywiki.org/)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Use classes to add unique styles to certain images.

Usage

{{img
|file=BlueStar.png
|class=bgblack
|options=right{{!}}thumb{{!}}Blue star with a dark background
}}
Blue star with a dark background

Supported classes:

  • maxwidth - Resize to fill its container div's width
  • bgblack - Dark background for light images with transparent backgrounds