Difference between revisions of "Template:YouTube"
Jump to navigation
Jump to search
Line 40: | Line 40: | ||
{{#widget:YouTube|{{#if:{{{playlist|}}}||id={{{id}}}}}{{#if:{{{id|}}}||playlist={{{playlist}}}}}|width={{{width|560}}}|height={{{height|315}}}}} | {{#widget:YouTube|{{#if:{{{playlist|}}}||id={{{id}}}}}{{#if:{{{id|}}}||playlist={{{playlist}}}}}|width={{{width|560}}}|height={{{height|315}}}}} | ||
</noinclude> | </noinclude> | ||
− | <includeonly><youtube width= | + | <includeonly><youtube width={{{$width}}} height={{{$height}}}>{{{$id}}}</youtube></includeonly> |
Revision as of 02:03, 8 June 2020
Fill in the info below to add a YouTube video to the Wiki.
Parameter | Description | Type | Status | |
---|---|---|---|---|
YouTube id | id | add the YouTube id here
| Unknown | suggested |
Playlist id | playlist | If you are embedding YouTube playlist instead of a video, add the id here. | String | optional |
Width | width | add the width of the YouTube video here | Number | suggested |
Height | height | add the height of the YouTube video here
| Number | suggested |