Difference between revisions of "Хев:YouTube"

С Сибирска Википеддя
Айдать на коробушку Айдать на сыскальник
Content deleted Content added
No edit summary
Tag: Reverted
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{align|right}}}
<includeonly>{{#if:{{{1|}}}
|{{#ev:youtube
| left = <div class="thumb tleft">
| {{{1}}}
| right = <div class="thumb tright">
| {{#if:{{{width|}}} | {{{width|}}} | 300 }}
| center = <div class="thumb tcenter">
| {{#if:{{{align|}}} | {{{align|}}} | right }}
| #default = <div class="thumb tright">
| {{{2|}}}
}}<div class="thumbinner" style="width:{{#expr: {{{width|300}}} + 2 }}px;">
<div class="thumbimage">{{#if:{{{1|}}}
| {{#if:{{{height|}}} | urlargs=height={{{height}}} }}
|<iframe
}}
|'''Error:''' YouTube video ID missing.
<html>width="{{{width|300}}}"</html>
}}</includeonly>
height="{{{height|169}}}"
src="https://www.youtube.com/embed/{{{1}}}"
frameborder="0"
allowfullscreen
style="border: 1px solid #c8ccd1; background: #f8f9fa;"
></iframe>
|'''Ошибка!'''<br>''Не указан ID видео.''
}}</div>
{{#if:{{{2|}}}|<div class="thumbcaption">{{{2}}}</div>}}
</div>
</div></includeonly>

Latest revision as of 15:14, 1 Грудня 2025