Template:YouTube: Difference between revisions

No edit summary
No edit summary
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>{{#widget:YouTube|{{#if:{{{playlist|}}}||id={{{id}}}}}{{#if:{{{id|}}}||playlist={{{playlist}}}}}|width={{{width|560}}}|height={{{height|315}}}}}</includeonly>
<includeonly><youtube width="{{{width}}}" height="{{{height}}}">{{{id}}}</youtube></includeonly>