Template:YouTube: Difference between revisions

No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 38: Line 38:
}
}
</templatedata>
</templatedata>
{{#widget:YouTube|{{#if:{{{playlist|}}}||id={{{id}}}}}{{#if:{{{id|}}}||playlist={{{playlist}}}}}|width={{{width|560}}}|height={{{height|315}}}}}
</noinclude>
</noinclude>
<includeonly><youtube width={{{$width}}} height={{{$height}}}>{{{$id}}}</youtube></includeonly>
<includeonly><youtube width={{{width|320}}} height={{{height|240}}}>{{{id}}}</youtube></includeonly>