Difference between revisions of "Template:Youtube"
From LGPedia
(TXvFZLPpeTWZ) |
m (Protected "Template:Youtube" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | [http://www.youtube.com/watch?v={{{1}}} {{#if: {{{2|}}}|{{{2}}}|youtube.com}}]<noinclude> | |
+ | ==Usage== | ||
+ | Use this template to link to videos on [[YouTube]]. | ||
+ | <pre> | ||
+ | {{youtube|VIDEOID|OPTIONAL TEXT}} | ||
+ | </pre> | ||
+ | VIDEOID is the id of the video on YouTube. If OPTIONAL TEXT is not provided, the text will be "youtube.com".[[Category:External link templates]]</noinclude> |
Latest revision as of 00:18, 5 June 2011
Usage
Use this template to link to videos on YouTube.
{{youtube|VIDEOID|OPTIONAL TEXT}}
VIDEOID is the id of the video on YouTube. If OPTIONAL TEXT is not provided, the text will be "youtube.com".