Difference between revisions of "Хев:YouTube"
Content deleted Content added
No edit summary Tag: Manual revert |
No edit summary |
||
Line 1:
<includeonly>{{#switch:{{{align|right}}}
}}</includeonly>
<includeonly><div class="thumbinner" style="width:{{#expr: {{{width|300}}} + 2 }}px; background: #fff; padding: 0; border: 1px solid #c8ccd1; display: inline-block;">
{{#if:{{{1|}}}
|<div style="width:{{{width|300}}}px; height:{{{height|169}}}px; overflow: hidden;">
<iframe
width="{{{width|300}}}"
height="{{{height|169}}}"
src="https://www.youtube.com/embed/{{{1}}}"
frameborder="{{{border|0}}}"
allowfullscreen
style="display: block; margin: 0; padding: 0;"
></iframe>
</div>
|'''Ошибка!'''<br>''Не указан ID видео.''
}}
{{#if:{{{2|}}}|<div class="thumbcaption">{{{2}}}</div>}}
</div></div></includeonly>
| |||