Template:Wide image: Difference between revisions
From CoMakingSpace Wiki
NitramLegov (talk | contribs) (copied from modiawiki) |
NitramLegov (talk | contribs) m (Template Data) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
<!-- If you copy this template, you need to add the overflowx and overflowy CSS classes to your global CSS for Internet Explorer users. On the English Wikipedia, these are conditionally loaded by [[MediaWiki:Common.js]] --> | <!-- If you copy this template, you need to add the overflowx and overflowy CSS classes to your global CSS for Internet Explorer users. On the English Wikipedia, these are conditionally loaded by [[MediaWiki:Common.js]] --> | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | == Template Parameters == | ||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Image", | |||
"description": "The file name of the image to use", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Image Width", | |||
"description": "The width the image should get assigned on the page", | |||
"default": "1000px" | |||
}, | |||
"3": { | |||
"label": "Caption", | |||
"description": "A caption to be shown under the image", | |||
"suggested": true | |||
}, | |||
"4": { | |||
"label": "Box Width", | |||
"description": "If given a value in pixels followed by \"px\", or a value in percent followed by \"%\", will set the width of the box to that amount." | |||
}, | |||
"5": { | |||
"label": "Alignment", | |||
"description": "If given a value of right or left, it will align the entire wide image frame respectively." | |||
}, | |||
"alt": { | |||
"label": "Alt text", | |||
"description": "Alt text to be assigned to the image" | |||
} | |||
}, | |||
"description": "Adds a scroll-able panorama image to a page", | |||
"paramOrder": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4", | |||
"5", | |||
"alt" | |||
] | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 22:28, 13 March 2022
copied from MediaWiki
Template Parameters
Adds a scroll-able panorama image to a page
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | 1 | The file name of the image to use | Unknown | required |
Image Width | 2 | The width the image should get assigned on the page
| Unknown | optional |
Caption | 3 | A caption to be shown under the image | Unknown | suggested |
Box Width | 4 | If given a value in pixels followed by "px", or a value in percent followed by "%", will set the width of the box to that amount. | Unknown | optional |
Alignment | 5 | If given a value of right or left, it will align the entire wide image frame respectively. | Unknown | optional |
Alt text | alt | Alt text to be assigned to the image | Unknown | optional |