Template:YouTube: Difference between revisions

Jump to navigation Jump to search
set default width to 300px and use https links
(preliminary test)
 
(set default width to 300px and use https links)
 
(30 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div style="float: {{qif|test={{{float|}}}|then={{{float}}}|else=right}}; margin: 10px; background-color: transparent; padding: 0px; width: 200px; text-align: center">http://www.youtube.com/img/pic_youtubelogo_123x63.gif<center style="text-align: center; font-size: larger; color: gray; padding: 5px; background-color: light grey">http://sjl-static14.sjl.youtube.com/vi/0IyArskVoZo/2.jpg
<includeonly>{{#ev:youtube|{{{video}}}|{{{width|300}}}|{{{float|right}}}|<span class="plainlinks">'''[https://www.youtube.com/watch?v={{{video}}}&eurl=https://strategywiki.org/wiki/{{FULLPAGENAMEE}}&feature=player_embedded {{{title}}}]'''</span> {{#if:{{{duration|}}}|<small>({{{duration}}})</small>}}{{#if:{{{description|}}}|<br />{{{description}}}}}||{{{urlargs|}}}}}</includeonly><noinclude>{{-}}
{{Documentation}}


<br/>'''[[Main Page|sample link]]'''</center>
[[Category:Templates]]</noinclude>
<div style="margin: 0px 0px 0px 0px; padding: 5px; border-left: 1px solid #7d87bc; background-color: #d0d5f1; border-right: 1px solid #7d87bc; background-color: #d0d5f1; border-bottom: 1px solid #7d87bc; background-color: #d0d5f1">{{{contents}}}</div>
</div><noinclude>
This is a template for [http://www.youtube.com YouTube] videos.
[[Category:Guide-specific templates|Y]]</noinclude>

Navigation menu