Template:YouTube/Documentation

Template page
Revision as of 00:12, 29 July 2011 by w:c:strategywiki>Prod (→‎Example: fix layout)

This is a template for YouTube videos.

This template is used as follows:

{{YouTube
|float=left, right, or none (default: right)
|video=ID of the video (not its full URL)
|title=name of the video
|duration=duration in minutes:seconds (optional)
|image=the number (1-3) of the image you want to use (2 if blank)
|description=description of the video (optional)
}}

Example

{{#ev:youtube|wsCNoJagyL8|300|right|Nonlethal Walkthrough - Lebedev's Airfield (1/4) (9:42)
From Battery Park through Brooklyn Bridge Station.||}}

{{YouTube
|float=right
|video=wsCNoJagyL8
|title=Nonlethal Walkthrough - Lebedev's Airfield (1/4)
|duration=9:42
|description=From Battery Park through Brooklyn Bridge Station.
}}