Extension talk:ImageSizeInfoFunctions/Template:Image

Description

edit

This template works similar to the default mediawiki image embedding syntax ([[File:x.png|thumb|left|250px|The caption text]]), except in that it also allows to scale an image as a percentage of the original size. If the parameter "width" is called with a "px" after the number, normal pixel scaling occurs, else the number will be interpreted as percent of the original image.

Usage:

edit
  • {{Image|File:x.png|Your caption text here|width=250px}}
    Fully equivalent to: [[File:x.png|250px|Your caption text here]]
  • {{Image|File:x.png|thumb|left|width=15|upright|Your caption text}}
    This scales the image to 15% of original size.
Return to "ImageSizeInfoFunctions/Template:Image" page.