Content deleted Content added
|
|
| (2 intermediate revisions by the same user not shown) |
|
<includeonly>{{#switchif:{{{align1|right}}}
|{{#ev:youtube
| left = <div class="thumb tleft">
| right = <div class="thumb tright">
| {{#if:{{{width|}}} | {{{width|}}} | 300 }}
| center = <div class="thumb tcenter">
| {{#if:{{{align|}}} | {{{align|}}} | right }}
| #default = <div class="thumb tright">
| {{{2|}}}
| {{#if:{{{height|}}} | urlargs=height= "{{{height |169}}} " }}▼
|'''Error:''' YouTube video ID missing.
}}</includeonly>
<includeonly><div class="thumbinner" style="width:{{#expr: {{{width|300}}} + 2 }}px; background: #fff; padding: 0; border: 1px solid #c8ccd1; display: inline-block;">
|<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>
|