Template:Img: Difference between revisions

Template page
w:c:strategywiki>Prod
(Can't use pixelart yet)
m (2 revisions imported: Imported from https://strategywiki.org/)
 
(No difference)

Latest revision as of 18:27, 28 October 2023

Use classes to add unique styles to certain images.

Usage[edit source]

{{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