Difference between revisions of "Хев:YouTube"
Айдать на коробушку
Айдать на сыскальник
Content deleted Content added
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{# |
<includeonly>{{#if:{{{1|}}} |
||
|{{#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|}}} |
|||
| ⚫ | |||
| ⚫ | |||
|'''Error:''' YouTube video ID missing. |
|||
}}</includeonly> |
}}</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}}}" |
|||
| ⚫ | |||
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> |
|||