Template:Image: Difference between revisions
From Bonkipedia
[[mw:]]>Baris6161TURK m (This should be a separate parameter to avoid lint errors.) |
ManfredoDo (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 19: | Line 19: | ||
}} | }} | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"padding": {}, | |||
"width": {}, | |||
"file": {}, | |||
"imagewidth": {}, | |||
"border": {}, | |||
"caption": {}, | |||
"link": {} | |||
} | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 19:40, 12 November 2022
Template documentation
This template uses TemplateStyles: |
This template is used to provide images with captions as an alternative to the ugly image captions that come with MediaWiki.
Syntax:
file=
Sets which file to use. Default value is 1AKC Samoyed Dog Show 2011.jpg.width=
The maximum width of the image. Note that the image gets smaller so that it is never more than a certain percentage of the browser window. Defaults to 400px.Never used The percent width of the browser window the image takes up. The width proportionality is maintained until the image is at the maximum size; it does not get better. Defaults to 50%.percentage=
caption=
Places a caption beneath the image, and also serves as the alt text. Optional.padding=
Gives the option to turn off padding, in case the image is part of a floating div already. Default is to include padding; turn off by setting parameter to "no".link=
Allows the image to link to a different page. Default is to link to the image description page. Setlink=
to nothing and the image will not be clickable
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
padding | padding | no description | Unknown | optional |
width | width | no description | Unknown | optional |
file | file | no description | Unknown | optional |
imagewidth | imagewidth | no description | Unknown | optional |
border | border | no description | Unknown | optional |
caption | caption | no description | Unknown | optional |
link | link | no description | Unknown | optional |