Difference between revisions of "Template:Ext-img"
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 08:45, 13 October 2016
{{{2}}}
Resizes external image
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| size | 1 size | Describes size of an image in pixels(px)
| String | optional |
| imagelink | 2 link | External link to image to commons | String | required |