Difference between revisions of "Template:Portal dynamic image"

From blackwiki
Jump to navigation Jump to search
(Yo! it works)
test>FR30799386
(Will create documentation)
Line 1: Line 1:
<templatestyles src="Portal dynamic image/styles.css"/>
+
<includeonly><templatestyles src="Portal dynamic image/styles.css"/>
 
<div class="dynamic-image-portal" style="width:{{{width|50%}}};">
 
<div class="dynamic-image-portal" style="width:{{{width|50%}}};">
[[{{{1|File:Taj Mahal, Agra, India edit3.jpg}}}|{{{caption| }}}]]
+
[[{{{1| }}}|{{{caption| }}}]]
</div>
+
</div></includeonly>
 +
<noinclude>{{Documentation}}</noinclude>

Revision as of 05:02, 8 August 2018

50px Template documentation[view] [edit] [history] [purge]

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