w:c:strategywiki>Garrett (further experimentation) |
w:c:strategywiki>Garrett (adding usage info and pasting Template:Sidebar here, will rework based on it to have more streamlined CSS) |
||
Line 6: | Line 6: | ||
This is a template for [http://www.youtube.com YouTube] videos. | This is a template for [http://www.youtube.com YouTube] videos. | ||
[[Category:Guide-specific templates|Y]]</noinclude> | [[Category:Guide-specific templates|Y]]</noinclude> | ||
{{-}} | |||
<div style="float: {{qif|test={{{float|}}}|then={{{float}}}|else=right}}; margin: 0px 10px 10px 10px; border: 1px solid #7d87bc; background-color: #d0d5f1; padding: 3px; width: {{{width}}};">{{qif|test={{{title|}}}|then=<div style="text-align: center; font-size: larger; color:#556; "> | |||
'''{{{title}}}''' | |||
</div>}}{{{contents}}} | |||
</div> | |||
<noinclude>This template is used as follows: | |||
<pre>{{YouTube | |||
|float=left, right, or none (default: right) | |||
|title=name of the video | |||
|length=length (minutes:seconds) of the video | |||
|description=description of the video | |||
}}</pre></noinclude> |
Revision as of 05:45, 8 March 2007
http://www.youtube.com/img/pic_youtubelogo_123x63.gifhttp://sjl-static14.sjl.youtube.com/vi/0IyArskVoZo/2.jpg
sample link 66:99
sample link 66:99
Description test test test test test
This is a template for YouTube videos.
Template:Qif{{{contents}}}
This template is used as follows:
{{YouTube |float=left, right, or none (default: right) |title=name of the video |length=length (minutes:seconds) of the video |description=description of the video }}