Template:YouTube
From MediaWiki
This is the YouTube template. It should be called in the following format:
{{YouTube |id=the video's YouTube ID |align=none/left/center/right (optional) |format=frame (optional) |width=enter the width (in pixels) that should be used to display the video (optional) |height=enter the height (in pixels) that should be used to display the video (optional) |caption=a caption (optional) }}
Edit the page to see the template text. There are tests and examples on this page.