Template:Youtube/doc

{	"params": { "1": {			"aliases": [ "videoid" ],			"label": "video ID", "description": "the video ID of the youtube video to embed", "example": "UHFsZy5QIcw", "type": "string", "required": true },		"2": {			"aliases": [ "width" ],			"label": "width", "description": "The width of the embedded video in the page in pixels", "type": "number", "default": "425", "autovalue": "" },		"align": { "description": "The alignment of the video (left/right/inline)", "example": "left", "type": "string" },		"description": { "description": "A short description to be rendered beneath the video embed.", "example": "This video shows something informative.", "type": "string", "suggested": true }	},	"description": "Template for embedding Youtube videos" }

Usage
Using this template on a page categorizes the page into Category:Pages with videos.

Examples
Default width (425px):

Custom width:

Inline alignment:

Description: