Difference between revisions of "Template:YouTube thumbnail"

From WiiBrew
Jump to navigation Jump to search
m
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div style="position: relative; background-color: #000000; width: 122px; height: 92px; float: left; margin-right: 6px;"><div style="opacity: 0.9;">[[{{{image|File:YouTube_default.png}}}|left|border|120px|link={{{link}}}|YouTube - {{{title|WiiBrew}}}]]</div>
 
<div style="position: relative; background-color: #000000; width: 122px; height: 92px; float: left; margin-right: 6px;"><div style="opacity: 0.9;">[[{{{image|File:YouTube_default.png}}}|left|border|120px|link={{{link}}}|YouTube - {{{title|WiiBrew}}}]]</div>
 
<div style="position: absolute; top: 30px; left: 48px;">[[File:Featured_media_play.png|link={{{link}}}|YouTube - {{{title|WiiBrew}}}]]</div>
 
<div style="position: absolute; top: 30px; left: 48px;">[[File:Featured_media_play.png|link={{{link}}}|YouTube - {{{title|WiiBrew}}}]]</div>
{{#if: {{{length|}}} | <div style="position: absolute; bottom: 4px; right: 4px; color: #FFFFFF; font-size: 88%; background-color: #000000; padding-left: 4px; padding-right: 4px; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
+
{{#if: {{{length|}}} | <div style="position: absolute; bottom: 3px; right: 3px; color: #FFFFFF; font-size: 88%; background-color: #000000; padding-left: 4px; padding-right: 4px; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; opacity: 0.8;">'''{{{length}}}'''</div> | }}</div>
">'''{{{length}}}'''</div> | }}</div>
 
 
<noinclude>
 
<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 05:37, 13 July 2009

YouTube - WiiBrew
YouTube - WiiBrew
[edit] Template documentation

Usage

{{YouTube thumbnail
| title       = Title of video
| link        = Link to video
| image       = File:name of thumbnail.jpg
| length      = HH:MM:SS
}}