Difference between revisions of "Template:YouTube"
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
< | <div style="float:{{{direction|right}}};">{{#tag:youtube | {{{videocode}}} | | |}} </div> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
Line 14: | Line 14: | ||
"required": true, | "required": true, | ||
"suggested": true | "suggested": true | ||
}, | |||
"width": { | |||
"label": "Width of the video", | |||
"description": "Width of the video", | |||
"example": "200", | |||
"type": "number" | |||
}, | |||
"height": { | |||
"label": "Height of the video", | |||
"description": "Height of the video", | |||
"example": "200", | |||
"type": "number" | |||
}, | |||
"direction": { | |||
"label": "Direction", | |||
"description": "Direction of the video", | |||
"type": "string", | |||
"default": "right" | |||
} | } | ||
}, | }, |
Latest revision as of 08:38, 9 June 2021
Embed a YouTube video
Parameter | Description | Type | Status | |
---|---|---|---|---|
Code of the video | videocode 1 | Code of the video
| String | required |
Width of the video | width | Width of the video
| Number | optional |
Height of the video | height | Height of the video
| Number | optional |
Direction | direction | Direction of the video
| String | optional |