Template:Wide image: Difference between revisions

From CoMakingSpace Wiki

m (Template Data)
m (Template Data)
Line 22: Line 22:
"required": true
"required": true
},
},
"2": {},
"2": {
"3": {},
"label": "Image Width",
"4": {},
"description": "The width the image should get assigned on the page",
"5": {},
"default": "1000px"
"alt": {
},
"3": {
"label": "Caption",
"label": "Caption",
"description": "The caption to show under the image",
"description": "A caption to be shown under the image",
"suggested": true
"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"
}
}
},
},

Revision as of 22:17, 13 March 2022

copied from MediaWiki

Adds a scroll-able panorama image to a page

Template parameters

ParameterDescriptionTypeStatus
Image1

The file name of the image to use

Unknownrequired
Image Width2

The width the image should get assigned on the page

Default
1000px
Unknownoptional
Caption3

A caption to be shown under the image

Unknownsuggested
Box Width4

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.

Unknownoptional
Alignment5

If given a value of right or left, it will align the entire wide image frame respectively.

Unknownoptional
Alt textalt

Alt text to be assigned to the image

Unknownoptional