Template:YouTube/Documentation: Difference between revisions

Template page
w:c:strategywiki>Notmyhandle
(added example)
w:c:strategywiki>Najzere
(categorization)
Line 29: Line 29:
}}
}}
</pre>
</pre>
<noinclude>[[Category:Template documentation|Y]]</noinclude>

Revision as of 15:02, 25 July 2009

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.
}}