Difference between revisions of "Template:Youtube"
Jump to navigation
Jump to search
KOER admin (talk | contribs) m (1 revision imported: templates) |
KOER admin (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{#widget:YouTube|id={{{1}}}}} | + | {{#widget:YouTube|id={{{1}}}|height={{{2}}}|width={{{3}}}}} |
<noinclude> | <noinclude> | ||
Line 18: | Line 18: | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
+ | }, | ||
+ | "2": { | ||
+ | "aliases": [ | ||
+ | "height" | ||
+ | ], | ||
+ | "description": "Height", | ||
+ | "example": "420", | ||
+ | "type": "number" | ||
+ | }, | ||
+ | "3": { | ||
+ | "aliases": [ | ||
+ | "Width" | ||
+ | ], | ||
+ | "description": "Width", | ||
+ | "example": "350", | ||
+ | "type": "number" | ||
} | } | ||
}, | }, | ||
− | "description": "Add Youtube video using its id" | + | "description": "Add Youtube video using its id", |
+ | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> | ||
− | |||
− | |||
− | |||
<noinclude/> | <noinclude/> |
Latest revision as of 11:57, 30 September 2019
Example: {{Youtube|DWef69ItVrU}}
Add Youtube video using its id
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | 1 id | Insert Youtube video id here
| String | required |
2 | 2 height | Height
| Number | optional |
3 | 3 Width | Width
| Number | optional |