Template:Video-youtube2

Purpose
Template to display YouTube videos inside a border or without, and with optional captions. 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.
 * The middle parameter is the standard code, such as  P0QAu5oaw7I 
 * 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
 

 