Template:Img

Template page
Revision as of 01:25, 24 December 2021 by w:c:strategywiki>Prod (Created page with "<includeonly><templatestyles src="Template:Img/styles.css" />[[File:{{{file|}}}|class=img-{{{class|}}}|{{{options|}}}]]</includeonly><noinclude> {{TemplateStyles|Template:Img/...")
(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
  • pixelart - Properly scale pixelart