More actions
(Created page with "<div class="youtube-container" style="text-align: {{{align|center}}};"><youtube width="{{{width|800}}" height="{{{height|500}}}">{{{url|{{{video|{{{1|https://youtu.be/gPnJPMzRZL8}}}}}}}}}</youtube></div><templatestyles src="Template:YouTube/styles.css"/><noinclude><!-- For preview only --><templatestyles src="Template:YouTube/styles.css"/>{{/doc}}</noinclude>") Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
| Line 1: | Line 1: | ||
<div class="youtube-container" style="text-align: {{{align|center}}};"><youtube width="{{{width|800}}" height="{{{height|500}}}">{{{url|{{{video|{{{1|https://youtu.be/ | <div class="youtube-container" style="text-align: {{{align|center}}};"><youtube width="{{{width|800}}" height="{{{height|500}}}">{{{url|{{{video|{{{1|https://youtu.be/dQw4w9WgXcQ}}}}}}}}}</youtube></div><templatestyles src="Template:YouTube/styles.css"/><noinclude><!-- For preview only --><templatestyles src="Template:YouTube/styles.css"/>{{/doc}}</noinclude> | ||
Revision as of 18:45, 3 September 2024
Embeds a YouTube video into an article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Video URL | video | The YouTube video's URL to embed
| URL | required |
| Video alignment | align | How the video should be aligned on the page. This value likely does nothing.
| Unknown | optional |
| Width | width | The initial width of the video. Do not include "px". This value is not necessarily required since the width is dynamic.
| Number | optional |
| Height | height | The height of the video. Do not include "px".
| Number | suggested |