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>")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<div class="externalimage-holder" style="width:{{{1}}}">{{{2}}}</div>
 
<div class="externalimage-holder" style="width:{{{1}}}">{{{2}}}</div>
 +
 +
<noinclude>
 +
<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>
 +
<noinclude/>

Latest revision as of 14:15, 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