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

From blackwiki
Jump to navigation Jump to search
test>FR30799386
(Upated doc)
test>AfroThundr3007730
(update docs)
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}}
 
{{Template rating|alpha}}
 
{{Template rating|alpha}}
 +
 +
The template resizes a image to a particular width (only for portals)
 +
 
== Usage ==
 
== Usage ==
 +
<pre>{{Portal dynamic image |1= |description= |max-width= |width= |caption= }}</pre>
 +
<!-- need to fill this out -->
 +
 +
==See also==
 +
{{portal templates navbox}}
 +
 +
{{collapse|2=TemplateData|1=
 
<templatedata>
 
<templatedata>
 
{
 
{
Line 38: Line 49:
 
}
 
}
 
</templatedata>
 
</templatedata>
 
+
}}
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||

Revision as of 22:33, 9 August 2018

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