Template:YouTube/Documentation

Template page
Revision as of 20:10, 13 July 2009 by w:c:strategywiki>Notmyhandle (added example)

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|left|Nonlethal Walkthrough - Lebedev's Airfield (1/4) (9:42)
From Battery Park through Brooklyn Bridge Station.||}}

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