Difference between revisions of "Хев:YouTube"
Айдать на коробушку
Айдать на сыскальник
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary |
||
| (26 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> |
<includeonly>{{#if:{{{1|}}} |
||
|{{#ev:youtube |
|||
{{#switch:{{{align|}}} |
|||
| {{{1}}} |
|||
| 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">{{#if:{{{1|}}}|{{#widget:YouTube|id={{{1|}}}|width={{{width|300}}}|height={{{height|225}}}}}|'''Ошибка!'''<br>''Не указан ID видео.''}}</div><div class="videocaption">{{{2|}}}</div></div></div></includeonly> |
|||
}} |
|||
|'''Error:''' YouTube video ID missing. |
|||
}}</includeonly> |
|||