Template:YouTube/Documentation: Difference between revisions

Template page
w:c:strategywiki>Najzere
(categorization)
w:c:strategywiki>Prod
m (→‎Example: fix layout)
Line 14: Line 14:
==Example==
==Example==
{{YouTube
{{YouTube
|float=left
|float=right
|video=wsCNoJagyL8
|video=wsCNoJagyL8
|title=Nonlethal Walkthrough - Lebedev's Airfield (1/4)
|title=Nonlethal Walkthrough - Lebedev's Airfield (1/4)
Line 22: Line 22:
<pre>
<pre>
{{YouTube
{{YouTube
|float=left
|float=right
|video=wsCNoJagyL8
|video=wsCNoJagyL8
|title=Nonlethal Walkthrough - Lebedev's Airfield (1/4)
|title=Nonlethal Walkthrough - Lebedev's Airfield (1/4)

Revision as of 00:12, 29 July 2011

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