Template:Portal dynamic image/doc

< Template:Portal dynamic image
Revision as of 10:26, 12 December 2020 by Wikipedia>Andrybak (update per Special:Diff/856576510/993796207)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The template resizes a image to a particular width (only for portals)

Usage

{{Portal dynamic image |1= |description= |max-width= |width= |caption= |center=yes}}

Parameters

|1=
Filename of the picture, without the prefix "File:".
|center=true
Specify any value for parameter "center" if the picture should be centered.

See also

TemplateData

The template resizes a image to a particular width (only for portals)

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

The file to be used

Example
File:Example.png
Page namerequired
max-heightmax-height

Sets the maximum height of the container

Unknownsuggested
max-widthmax-width

Sets the max-width of the parent container

Numbersuggested
widthwidth

The width of the image

Example
width=50%
Numbersuggested
captioncaption

Caption of image

Example
caption=Example
Stringsuggested