Difference between revisions of "Template:Video"
Revision as of 16:14, 4 February 2016 Blanked the page | Revision as of 14:10, 31 August 2017 | |||
Line 1: | Line 1: | |||
? | + | <includeonly>{{#switch:{{{align|}}} | ||
+ | | left = <div class="thumb tleft"> | |||
+ | | right = <div class="thumb tright"> | |||
+ | | center = <div class="center"> | |||
+ | | #default = <div class="thumb tright"> | |||
+ | }}<div class="thumbinner" style="width: {{#expr: {{{width|300}}} + 2 }}px;">{{#if:{{{1|}}}|{{#ev:{{{service|youtube}}}|{{{1|}}}|{{{width|300}}}}}|'''Ошибка!'''<br />''Не указан ID видео.''}}<div class="thumbcaption"><p class="plainlinks" style="font-size:80%; float:right; border:none; background:none" >([{{#switch: | |||
+ | {{{service|}}} | |||
+ | |youtube = {{{link|https://www.youtube.com/watch?v={{{1|}}}}}} ссылка | |||
+ | |youtubeh5 = {{{link|https://www.youtube.com/watch?v={{{1|}}}}}} ссылка | |||
+ | |dailymotion = {{{link|https://dailymotion.com/video/{{{1|}}}}}} ссылка | |||
+ | |funnyordie = {{{link|https://www.funnyordie.com/videos/{{{1|}}}}}} ссылка | |||
+ | |googlevideo = {{{link|https://video.google.com/{{{1|}}}}}} ссылка | |||
+ | |sevenload = {{{link|https://en.sevenload.com/videos/{{{1|}}}}}} ссылка | |||
+ | |revver = {{{link|https://revver.com/video/{{{1|}}}}}} ссылка | |||
+ | |veoh = {{{link|https://www.veoh.com/browse/videos/watch/{{{1|}}}}}} ссылка | |||
+ | |vimeo = {{{link|https://vimeo.com/{{{1|}}}}}} ссылка | |||
+ | |rutube = {{{link|https://video.rutube.ru/{{{1|}}}}}} ссылка | |||
+ | |rutubep = {{{link|нет ссылки}}} {{#if:{{{link|}}}|ссылка|}} | |||
+ | |yandex = {{{link|https://static.video.yandex.ru/lite/{{{1|}}}}}} ссылка | |||
+ | |yandexp = {{{link|нет ссылки}}} {{#if:{{{link|}}}|ссылка|}} | |||
+ | |yandexaudio = {{{link|https://static.video.yandex.ru/lite-audio/{{{1|}}}}}} ссылка | |||
+ | |megavideo = {{{link|нет ссылки}}} {{#if:{{{link|}}}|ссылка|}} | |||
+ | |vkontakte = {{{link|https://vkontakte.ru/video_ext.php?{{{1|}}}}}} ссылка | |||
+ | |#default = {{{link|https://www.youtube.com/watch?v={{{1|}}}}}} ссылка | |||
+ | }}])</p>{{{2|}}}</div></div></div></includeonly> |