Content deleted Content added
|
|
| (6 intermediate revisions by the same user not shown) |
|
<includeonly>{{#switchif:{{{align1|right}}}
|{{#ev:youtube
| left = <div class="thumb tleft">
| {{{1}}}
| right = <div class="thumb tright">
| {{#if:{{{width ="|}}} | {{{width| 300}}} " | 300 }}▼
| center = <div class="thumb tcenter">
| {{#if:{{{align|}}} | {{{align|}}} | right }}
| #default = <div class="thumb tright">
| height="{{{ height2| 169}}} "▼
}}<div class="thumbinner" style="width:{{#expr: {{{width|300}}} + 2 }}px;">
<div class="thumbimage"> | {{#if:{{{1height|}}} | urlargs=height={{{height}}} }}
|<iframe }}
|'''Error:''' YouTube video ID missing.
▲ width="{{{width|300}}}"
▲ height="{{{height|169}}}"
src="https://www.youtube.com/embed/{{{1}}}"
frameborder="0"
allowfullscreen
style="border: 1px solid #c8ccd1; background: #f8f9fa;"
></iframe>
|'''Ошибка!'''<br>''Не указан ID видео.''
}}</div>
{{#if:{{{2|}}}|<div class="thumbcaption">{{{2}}}</div>}}
</div>
|