Template:YouTube: Difference between revisions
Appearance
| [checked revision] | [checked revision] |
Update |
Update |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 35: | Line 35: | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude><includeonly><div | </noinclude><includeonly><div class="soji-yt-embed" data-video-id="{{#explode:{{#explode:{{{id|}}}|?|0}}|&|0}}" data-width="{{{width|640}}}" data-align="{{{align|center}}}" data-caption="{{{caption|}}}"></div></includeonly> | ||
Latest revision as of 08:27, 25 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}}