Template:YouTube

{{#if:{{{id|}}}|{{#ev:youtube|{{{id}}}|dimensions={{{width|240}}}x{{{height|185}}|inline| {{{description}}} |urlArgs=start={{{t}}}}}}} {{#if:{{{id2|}}}|{{#ev:youtube|{{{id2}}}|dimensions={{{width|240}}}x{{{height|185}}|inline| {{{description2}}} |urlArgs=start={{{t2}}}}}}} {{#if:{{{id3|}}}|{{#ev:youtube|{{{id3}}}|dimensions={{{width|240}}}x{{{height|185}}|inline| {{{description3}}} |urlArgs=start={{{t3}}}}}}} {{#if:{{{id4|}}}|{{#ev:youtube|{{{id4}}}|dimensions={{{width|240}}}x{{{height|185}}|inline| {{{description4}}} |urlArgs=start={{{t4}}}}}}} {{#if:{{{id5|}}}|{{#ev:youtube|{{{id5}}}|dimensions={{{width|240}}}x{{{height|185}}|inline| {{{description5}}} |urlArgs=start={{{t5}}}}}}}<!-- A rewrite of the YouTube template which uses mw:Extension:EmbedVideo. This template has been created solely for testing purposes (at this stage) and is only capable of handling 5 videos currently. The markup is unchanged by default, with the exception of the optional  and   parameters being replaced by a single   parameter. For this parameter, input must be expressed as. The new template also adds an optional  parameter which allows us to caption embedded videos in the same manner as images and directly uploaded videos (finally!). A new  parameter allows you to start the video at a certain timestamp, which didn't work properly with the old YouTube extension. Given EmbedVideo's broader capabilities, versions of this template can be created for Vimeo, Dailymotion, Archive.org and more.

Example markup:

Output (ignore the "Template Loop" message if it appears):