Difference between revisions of "Template:Portal dynamic image/doc"

From blackwiki
Jump to navigation Jump to search
test>AfroThundr3007730
(update docs)
m (4 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{Uses TemplateStyles|Template:Portal image banner/styles.css}}
+
{{Uses TemplateStyles|Template:Portal dynamic image/styles.css}}
 
{{Template rating|alpha}}
 
{{Template rating|alpha}}
  

Latest revision as of 16:38, 8 September 2020

Script error: No such module "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= }}

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
Pagerequired
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