Difference between revisions of "Хев:YouTube"
Айдать на коробушку
Айдать на сыскальник
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary |
||
| (27 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|}}}|<iframe type="text/html" width="{{{width|300}}}" height="{{{height|225}}}" frameborder="{{{border|0}}}" src="https://www.youtube.com/embed/{{{1}}}" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe>|'''Error!'''<br>''Video ID not specified.''}}</div><div class="videocaption">{{{2|}}}</div></div></div></includeonly> |
|||
}} |
|||
|'''Error:''' YouTube video ID missing. |
|||
}}</includeonly> |
|||