Template:Video-youtube

Purpose
Template to display YouTube videos. Allows the size and caption of the video to be adjusted independent of each other. The standard way of linking to a YouTube video with  video#  has limitations where captions can only be used in thumbnails and the thumbnails actually display at full size.

Usage
 

Parameters are case sensitive.


 * video alignment: left, center, right. For positioning the video on the page. Text will flow alongside left- and right-aligned videos, but will drop below a center-aligned video.
 * border choice: border, noborder. Draws or does not draw a 1 pixel border around the video. If a different value is entered here, the border defaults to 3 pixels.
 * video number: the number of the YouTube of the video without "watch?v=" prefix. Example: use P0QAu5oaw7I instead of  watch?v=P0QAu5oaw7I .
 * size: small, def, SD, HD, large. Specifies the size of the video. SD = 250x188, HD = 320x180, small = 150x113, def = 200x150, large = 400x300.
 * If this parameter is not specified, any captioning commands will be ignored and the video displayed at full size.
 * caption alignment: left, center, right. Optional. For positioning a caption below the video. If this parameter is not included, any caption text will be ignored.
 * caption: Optional. Caption for the video.

Examples
 

 