Template:Youtube/doc

This is an old revision of this page, as edited by Alex (talk | contribs) at 00:56, 17 October 2024 (Created page with "{{documentation}} This template is used to embed a YouTube video onto the page without uploading the video to the wiki's video library. This is not intended for use on mainspace mw.pages. == Usage == <pre>{{Youtube|dQw4w9WgXcQ}}</pre> This will generate: {{Youtube|dQw4w9WgXcQ}} ---- To use a custom width and height, use the parameters width and height: <pre>{{Youtube|dQw4w9WgXcQ|width=420|height=345}}</pre> <includeonly>Category:Transclusion templates|{{PAGENAME..."). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:Youtube.
It contains usage information, categories, and other content that is not part of the original template page.

This template is used to embed a YouTube video onto the page without uploading the video to the wiki's video library. This is not intended for use on mainspace mw.pages.

Usage

{{Youtube|dQw4w9WgXcQ}}

This will generate:


To use a custom width and height, use the parameters width and height:

{{Youtube|dQw4w9WgXcQ|width=420|height=345}}