Template:YouTubeVideo/doc

Description
This template wraps the HTML tags around a URL pointing to a video from YouTube.

Dependencies

 * YouTube extension

Syntax
{	"params": { "1": {			"label": "Youtube URL", "description": "URL link to a video hosted on Youtube", "type": "url", "required": true },		"alignment": { "label": "Alignment", "description": "Video alignment. Valid options are left, center, and right.", "suggested": true },		"usewordwrap": { "label": "Use Word Wrap", "description": "Used to enable word wrap, type \"yes\" to enable.", "type": "string", "suggested": true },		"uselinebreak": { "label": "Use Line Break", "description": "Used to enable line break below element, type \"yes\" to enable.", "type": "string", "suggested": true }	},	"description": "The template supports both a full URL or just the Video ID.", "format": "inline" }

Note: When using a full URL, you MUST use "1=" when defining an argument for the template or it will not work

Sample output
If you type   you will get this:

If you type   you will get this:

Note: When using a full URL, you MUST use "1=" when defining an argument for the template or it will not work