Template:YouTube thumbnail: Difference between revisions
Jump to navigation
Jump to search
ExtremsAlt (talk | contribs) mNo edit summary |
ExtremsAlt (talk | contribs) mNo edit summary |
||
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: | {{#if: {{{length|}}} | <div style="position: absolute; bottom: 2px; right: 2px; 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; | ||
">'''{{{length}}}'''</div> | }}</div> | ">'''{{{length}}}'''</div> | }}</div> | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 05:19, 13 July 2009
Usage
{{YouTube thumbnail | title = Title of video | link = Link to video | image = File:name of thumbnail.jpg | length = HH:MM:SS }}