Jump to content

Template:Portal dynamic image/doc

From Wikipedia, the free encyclopedia

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

Usage

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

Parameters

[edit]
|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

[edit]
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