Difference between revisions of "Template:YouTube"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{#widget:YouTube|id={{#if:{{{playlist}}}|playlist={{{playlist}}}|{{{1}} | + | <includeonly>{{#widget:YouTube|id={{#if:{{{playlist}}}|playlist={{{playlist}}}|{{{1}}}}}|width={{{2|420}}}|height={{{3|350}}}}}</includeonly><noinclude>If you wish to embed YouTube videos, simply use the following code:<pre>{{YouTube|YouTubeVideoID|width|height}}</pre>Or for playlists:<pre>{{YouTube|playlist=YouTubePlaylistID|width|height}}</pre>Width and Height are option and are set to the default of 420x350.</noinclude> |
− |
Revision as of 01:01, 27 May 2012
If you wish to embed YouTube videos, simply use the following code:
{{YouTube|YouTubeVideoID|width|height}}
Or for playlists:
{{YouTube|playlist=YouTubePlaylistID|width|height}}
Width and Height are option and are set to the default of 420x350.