Content deleted Content added
|
|
| (7 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 }}
| center = <div class="thumb tcenter">
| {{#if:{{{align|}}} | {{{align|}}} | right }}
| #default = <div class="thumb tright">
| {{{2|}}}
}}<div class="thumbinner" style="width:{{#expr: {{{width|300}}} + 2 }}px;"><div class="thumbimage">{{#if:{{{1|}}}|<html><iframe type="text/html" width="</html>{{{width|300}}}<html>" height="</html>{{{height|169}}}<html>" frameborder="</html>{{{border|0}}}<html>" src="https://www.youtube.com/embed/</html>{{{1}}}<html>" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe></html>|'''Ошибка!'''<br>''Не указан ID видео.''}}</div>{{#if:{{{2|}}}|<div class="thumbcaption">{{{2}}}</div>}}</div></div></includeonly>
| {{#if:{{{height|}}} | urlargs=height={{{height}}} }}
}}
|'''Error:''' YouTube video ID missing.
}}</includeonly>
|