Difference between revisions of "Template:Ext-img"

From Open Educational Resources
Jump to navigation Jump to search
(Created page with "<div class="externalimage-holder" style="width:{{{1}}}">{{{2}}}</div>")
 
Line 1: Line 1:
 
<div class="externalimage-holder" style="width:{{{1}}}">{{{2}}}</div>
 
<div class="externalimage-holder" style="width:{{{1}}}">{{{2}}}</div>
 +
 +
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"aliases": [
 +
"size"
 +
],
 +
"label": "size",
 +
"description": "Describes size of an image in pixels(px)",
 +
"example": "100px",
 +
"type": "string",
 +
"default": "500px"
 +
},
 +
"2": {
 +
"aliases": [
 +
"link"
 +
],
 +
"label": "imagelink",
 +
"description": "External link to image to commons",
 +
"type": "string",
 +
"required": true
 +
}
 +
},
 +
"description": "Resizes external image"
 +
}
 +
</templatedata>

Revision as of 08:37, 13 October 2016

{{{2}}}


Resizes external image

Template parameters

ParameterDescriptionTypeStatus
size1 size

Describes size of an image in pixels(px)

Default
500px
Example
100px
Stringoptional
imagelink2 link

External link to image to commons

Stringrequired