Difference between revisions of "Template:Portal dynamic image/doc"
Jump to navigation
Jump to search
test>FR30799386 (created documentation) |
m (4 revisions imported) |
||
| (3 intermediate revisions by 2 users 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 dynamic image/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 11: | Line 22: | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"required": true | "required": true | ||
| + | }, | ||
| + | "max-height": { | ||
| + | "description": "Sets the maximum height of the container", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "max-width": { | ||
| + | "description": "Sets the max-width of the parent container", | ||
| + | "type": "number", | ||
| + | "suggested": true | ||
}, | }, | ||
"width": { | "width": { | ||
| − | "description": "The width of the image | + | "description": "The width of the image", |
| − | "example": "width=50", | + | "example": "width=50%", |
"type": "number", | "type": "number", | ||
| − | |||
"suggested": true | "suggested": true | ||
}, | }, | ||
| Line 30: | Line 49: | ||
} | } | ||
</templatedata> | </templatedata> | ||
| − | + | }} | |
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
Latest revision as of 16:38, 8 September 2020
| This is a documentation subpage for Template:Portal dynamic image. It contains usage information, categories and other content that is not part of the original template page. |
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)
| ||||||||||||||||||||||||||||||