Difference between revisions of "Хев:YouTube"
Айдать на коробушку
Айдать на сыскальник
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary |
||
| (18 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> |
<includeonly>{{#if:{{{1|}}} |
||
|{{#ev:youtube |
|||
{{#switch:{{{align|}}} |
|||
| ⚫ | |||
| left = <div class="thumb tleft"> |
|||
| {{#if:{{{width|}}} | {{{width|}}} | 300 }} |
|||
| right = <div class="thumb tright"> |
|||
| {{#if:{{{align|}}} | {{{align|}}} | right }} |
|||
| center = <div class="center"> |
|||
| {{{2|}}} |
|||
| #default = <div class="thumb tright"> |
|||
| {{#if:{{{height|}}} | urlargs=height={{{height}}} }} |
|||
}}<div class="thumbinner" style="width: {{#expr: {{{width|300}}} + 2 }}px;"> |
|||
| ⚫ | |||
<div class="thumbimage"> |
|||
|'''Error:''' YouTube video ID missing. |
|||
| ⚫ | |||
| ⚫ | |||
|<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 class="videocaption">{{{2|}}}</div> |
|||
</div></div> |
|||
| ⚫ | |||