15,197
edits
(Updated documentation) |
mNo edit summary |
||
Line 2: | Line 2: | ||
==Usage== | ==Usage== | ||
The YouTube template should be called in the following way: | |||
< | *<code><nowiki>{{YouTube|<videoID>|<title>}}</nowiki></code> | ||
*<code>Video ID</code> | where | ||
*<code>Title</code> | *<code>Video ID</code> is the ID is the bold part of the URL (<nowiki>http://www.youtube.com/watch?v=</nowiki>'''VqNcksMfAjM''') | ||
*<code>Title</code> (optional) is the caption for the hiperlink | |||
==Examples== | |||
* Specifying video ID and title, <code><nowiki>{{YouTube|VqNcksMfAjM|The Legend of Zelda: The Wind Waker Intro}}</nowiki></code> produces this: | * Specifying video ID and title, <code><nowiki>{{YouTube|VqNcksMfAjM|The Legend of Zelda: The Wind Waker Intro}}</nowiki></code> produces this: | ||
{{YouTube|VqNcksMfAjM|The Legend of Zelda: The Wind Waker Intro}}<div style="clear:left"></div> | {{YouTube|VqNcksMfAjM|The Legend of Zelda: The Wind Waker Intro}}<div style="clear:left"></div> |