Difference between revisions of "Хев:YouTube"

С Сибирска Википеддя
Айдать на коробушку Айдать на сыскальник
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#switch:{{{align|right}}}
<includeonly>{{#switch:{{{align|right}}}
| left = <div class="thumb tleft">
| left = <div class="floatleft">
| right = <div class="thumb tright">
| right = <div class="floatright">
| center = <div class="thumb tcenter">
| center = <div class="floatcenter">
| #default = <div class="thumb tright">
| #default = <div class="floatright">
}}<div class="thumb"><div class="thumbinner" style="width:{{#expr: {{{width|300}}} + 2 }}px;"><div class="thumbimage">{{#if:{{{1|}}}|<html><iframe type="text/html" width="</html>{{{width|300}}}<html>" height="</html>{{{height|169}}}<html>" frameborder="</html>{{{border|0}}}<html>" src="https://www.youtube.com/embed/</html>{{{1}}}<html>" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe></html>|'''Ошибка!'''<br>''Не указан ID видео.''}}</div>{{#if:{{{2|}}}|<div class="thumbcaption">{{{2}}}</div>}}</div></div></includeonly>
}}</includeonly>
<includeonly><div class="thumbinner" style="width:{{#expr: {{{width|300}}} + 2 }}px; background: #fff; padding: 0; border: 1px solid #c8ccd1; display: inline-block;">
{{#if:{{{1|}}}
|<div style="width:{{{width|300}}}px; height:{{{height|169}}}px; overflow: hidden;">
<iframe
width="{{{width|300}}}"
height="{{{height|169}}}"
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>

Revision as of 15:06, 1 Грудня 2025