Template:Video Embed: Difference between revisions

Add more parameters to template
Add template data
Line 36: Line 36:
"type": "url",
"type": "url",
"required": true
"required": true
},
"dimensions": {
"label": "Dimensions",
"description": "Dimensions in pixels to size the embed container. The standard format is width x height where either can be omitted, but the x must proceed height to indicate it as the height.",
"example": "480, 480x320, x320. If the height is not provided it will be calculated automatically from the width and service default ratio",
"type": "string"
},
"alignment": {
"label": "Alignment",
"description": "Align the placement of the video either to the left, centered, or to the right. Inline will allow multiple videos to display side by side without forced line breaks",
"example": "left, center",
"type": "string",
"suggestedvalues": [
"left ",
"center",
"right",
"inline"
]
},
"description": {
"label": "Description",
"description": "Display a description under the embed container. For line breaks use 
",
"example": "some wikitext",
"type": "content"
},
"container": {
"label": "Container",
"description": "Specifies the container type to use for the embed",
"example": "frame — Wrap the video player in a MediaWiki thumbnail box",
"type": "string",
"suggestedvalues": [
"frame"
]
}
}
},
},