Template:YouTube: Difference between revisions
Appearance
| [checked revision] | [checked revision] |
Update Tag: Manual revert |
Update Tag: Reverted |
||
| Line 35: | Line 35: | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude><includeonly><div style="text-align:{{{align|center}}}; margin:10px 0;"> | </noinclude><includeonly><div style="text-align:{{{align|center}}}; margin:10px 0;">{{#evu:https://www.youtube.com/watch?v={{#explode:{{#explode:{{{id|}}}|?|0}}|&|0}} | ||
|dimensions={{{width|640}}} | |||
|alignment={{{align|center}}} | |||
|autoplay={{{autoplay|true}}} | |||
|loop=false | |||
|urlargs=mute=1&rel=0&modestbranding=1 | |||
}}{{#if:{{{caption|}}}|<br><em style="color:#666">{{{caption}}}</em>|}}</div></includeonly> | |||
Revision as of 03:42, 20 May 2026
YouTube Embed Template
Embed YouTube video. Auto-strips query parameters from ID.
Usage: {{YouTube|id=VIDEO_ID|width=640|align=center|caption=Description}}