Template:YouTube/doc

This template provides a simplified way to use the EmbedVideo plugin. It automatically uses the standard thumbnail size and position used on this wiki

Usage
The YouTube template should be called in the following way: where
 * is the ID is the bold part of the URL ( http://www.youtube.com/watch?v= VqNcksMfAjM)
 * (optional) is the caption for the video
 * (optional) control some other functionalities of this template. Specifying  in this parameter tell the template to create a new row after embedding the video. Specifying   makes the template return only a hiperlink to watch the video on YouTube.

Examples

 * Embed a video by specifying video ID and title. Titles longer than the box will automatically be truncated. We are embedding only one video, so we should add the  tag to the 3rd parameter. In this example,   will produce this:


 * Embed a video by specifying only video ID, so the 2nd parameter is null. We are embedding only one video, so we should add the  tag to the 3rd parameter. In this example,   make the template use URL as title since no title was entered:


 * Return a hiperlink to watch the video on YouTube by specifying video ID and title. We want only the hiperlink, so we should add the  tag to the 3rd parameter. In this example,   will produce this:


 * Return a hiperlink to watch the video on YouTube by specifying only video ID. We want only the hiperlink, so we should add the  tag to the 3rd parameter. In this example,   make the template use URL as title since no title was entered: