Difference between revisions of "Хев:YouTube"

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

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