Template:Video/doc: Difference between revisions

Created page with " <templatedata> { "params": { "1": {}, "2": {}, "3": {}, "desc": {}, "box": {}, "size": {} }, "description": "Allows ease of use when using tags from Extension:..."
 
No edit summary
Line 1: Line 1:
 
''Italic text''
<templatedata>
{{TemplateData|<templatedata>
{
{
"params": {
"params": {
"1": {},
"desc": {
"2": {},
"label": "Description",
"3": {},
"description": "Display a description under the embed container. For line breaks use: &#10;",
"desc": {},
"example": "desc=Example Description ",
"box": {},
"type": "string"
"size": {}
},
"box": {
"label": "Container",
"description": "Wrap the video player in a Mediawiki thumbnail box.",
"example": "box=frame",
"type": "string"
},
"size": {
"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. Examples: 480, 480x320, x320. If the height is not provided it will be calculated automatically from the width and service default ratio.",
"example": "size=480x320",
"type": "string",
"default": "640"
},
"load": {
"label": "Service",
"description": "The video service to call.",
"example": "load=youtube",
"type": "string",
"required": true
},
"id": {
"label": "ID",
"description": "The raw ID of the video or URL from the player page.",
"example": "id=RmQVm0Rb2b4",
"type": "string",
"required": true
},
"align": {
"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": "align=left|center|right|inline",
"type": "string"
}
},
},
"description": "Allows ease of use when using tags from Extension:EmbedVideo "
"description": "Allows ease of use when using tags from Extension:EmbedVideo ",
"paramOrder": [
"load",
"id",
"align",
"desc",
"box",
"size"
]
}
}
</templatedata>
</templatedata>}}