Jump to content

Template:Youtube: Difference between revisions

+doc
m (Gboyers moved page Template:Embedyt to Template:Youtube: May as well use a better name, right?)
(+doc)
Line 8: Line 8:
{{#if:{{{video2|}}}|<td>{{#widget:YouTube|id={{{video2}}}|width={{#if:{{{width2|}}}|{{{width2}}}|500}}}}</td>}}
{{#if:{{{video2|}}}|<td>{{#widget:YouTube|id={{{video2}}}|width={{#if:{{{width2|}}}|{{{width2}}}|500}}}}</td>}}
</tr>
</tr>
</table></includeonly><noinclude>
</table></includeonly><noinclude>{{doc}}</noinclude>
<pre>
{{embedyt
|video1 = First YouTube video ID
|title1 = Video title (optional)
|width1 = Width of video (optional, default 500 pixels)
|video2 = Second YouTube video ID
|title2 = Video title (optional)
|width2 = Width of video (optional, default 500 pixels)
}}
</pre></noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.