Difference between revisions of "Хев:YouTube"

Content deleted Content added
No edit summary
Tag: Reverted
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1:
<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}}}"
</div>}}</includeonly>
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>
</div></includeonly>