Template:Youtube/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 35: | Line 35: | ||
{{youtube|ju4n5PmjhSM|320x180px|align=right}} | {{youtube|ju4n5PmjhSM|320x180px|align=right}} | ||
<pre>{{youtube|ju4n5PmjhSM|320x180px|align=right}}</pre> | <pre>{{youtube|ju4n5PmjhSM|320x180px|align=right}}</pre> | ||
<noinclude>[[Category:Documentation]]</noinclude> | <includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude> | ||
Revision as of 17:55, 22 October 2024
Embeds a YouTube video. Wrapper around the EmbedVideo parser function.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | 1 | The ID of the YouTube video. If a video's URL is "https://www.youtube.com/watch?v=ju4n5PmjhSM", then its ID is "ju4n5PmjhSM".
| String | required |
| Dimensions | 2 | The dimensions of the video.
| String | optional |
| Alignment | align | The alignment of the video.
| String | optional |
Example usage
{{youtube|ju4n5PmjhSM|320x180px|align=right}}