16 808
правок
Строка 1: | Строка 1: | ||
<includeonly>{{#ev:youtube|{{{link}}}|{{#if:{{{width|}}}| {{{width}}}| }}|{{#if:{{{nofloat|}}}| | right}} | <includeonly>{{#ev:youtube|{{{link}}}|{{#if:{{{width|}}}| {{{width}}}| }}|{{#if:{{{nofloat|}}}| | right |}}{{{text}}}|frame}}</includeonly><noinclude> | ||
<h2> Описание </h2> | <h2> Описание </h2> | ||
Вставляет блок с YouTube-видео и выравнивает его по правому краю. Использует плагин [https://www.mediawiki.org/wiki/Extension:EmbedVideo EmbedVideo]. | Вставляет блок с YouTube-видео и выравнивает его по правому краю. Использует плагин [https://www.mediawiki.org/wiki/Extension:EmbedVideo EmbedVideo]. | ||
Строка 17: | Строка 17: | ||
{{YouTube | {{YouTube | ||
| link= https://youtu.be/7U-1rruSQGM | | link= https://youtu.be/7U-1rruSQGM | ||
| text= Видео | | text= Видео слева с шириной 500px | ||
| nofloat=true | | nofloat=true | ||
| width= | | width=500 | ||
}} | }} | ||
</pre> | </pre> | ||
Строка 35: | Строка 35: | ||
{{YouTube | {{YouTube | ||
| link= https://youtu.be/7U-1rruSQGM | | link= https://youtu.be/7U-1rruSQGM | ||
| text= Видео | | text= Видео слева с шириной 500px | ||
| nofloat=true | | nofloat=true | ||
| width= | | width=500 | ||
}} | }} | ||
</noinclude> | </noinclude> |