Difference between revisions of "Хев:YouTube"

Айдать на коробушку Айдать на сыскальник
Content deleted Content added
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
<includeonly>

{{#switch:{{{align|}}}
{{#switch:{{{align|}}}
| left = <div class="thumb tleft">
| left = <div class="thumb tleft">
Line 7: Line 7:
}}<div class="thumbinner" style="width: {{#expr: {{{width|300}}} + 2 }}px;">
}}<div class="thumbinner" style="width: {{#expr: {{{width|300}}} + 2 }}px;">
<div class="thumbimage">
<div class="thumbimage">
[https://www.youtube.com/watch?v={{{1}}} [[File:YouTube-icon.png|{{{width|300}}}px|link=|alt=Watch on YouTube]]]
{{#if:{{{1|}}}
|<html><iframe type="text/html" width="{{{width|300}}}" height="{{{height|225}}}" frameborder="{{{border|0}}}" src="https://www.youtube.com/embed/{{{1}}}" allowfullscreen="true"></iframe></html>
|'''Ошибка!'''<br>''Не указан ID видео.''
}}
</div>
</div>
<div class="videocaption">{{{2|}}}</div>
<div class="videocaption">[https://www.youtube.com/watch?v={{{1}}} {{{2|Watch Video}}}]</div>
</div></div>
</div></div>
</includeonly>
</includeonly>