Template:Portal dynamic image/doc

Template page

This category is an index of templates which use TemplateStyles. It is automatically populated by {{Uses TemplateStyles}}.

Template:Template rating

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