Toggle menu
15
236
74
27.6K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Portal dynamic image/doc: Difference between revisions

Template page
Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{Uses TemplateStyles|Template:Portal dynamic image/styles.css}} {{Template rating|alpha}} The template resizes a image to a particular width (only for portals) == Usage == <syntaxhighlight lang="wikitext">{{Portal dynamic image |1= |description= |max-width= |width= |caption= |center=yes}}</syntaxhighlight> <!-- n..."
(No difference)

Revision as of 06:47, 19 February 2025

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