w:c:strategywiki>Garrett m (FULLPAGENAME >> FULLPAGENAMEE) |
w:c:strategywiki>Garrett m (tweak) |
||
Line 2: | Line 2: | ||
<br/><span class="plainlinks">'''[http://www.youtube.com/watch?v={{{video}}}&eurl=http://strategywiki.org/wiki/{{FULLPAGENAMEE}} {{{title}}}]'''</span> {{qif|test={{{duration|}}}|then=<font style="font-size: smaller;"><font style="font-size: smaller;">{{{duration}}}</font></font>|else=}}</center> | <br/><span class="plainlinks">'''[http://www.youtube.com/watch?v={{{video}}}&eurl=http://strategywiki.org/wiki/{{FULLPAGENAMEE}} {{{title}}}]'''</span> {{qif|test={{{duration|}}}|then=<font style="font-size: smaller;"><font style="font-size: smaller;">{{{duration}}}</font></font>|else=}}</center> | ||
{{qif|test={{{description|}}}|then=<div style="margin: 0px 0px 0px 0px; padding: 5px; background-color: #EEEEEE;>{{{description}}}</div>|else=}} | {{qif|test={{{description|}}}|then=<div style="margin: 0px 0px 0px 0px; padding: 5px; background-color: #EEEEEE; text-align: center;>{{{description}}}</div>|else=}} | ||
</div><noinclude> | </div><noinclude> | ||
This is a template for [http://www.youtube.com YouTube] videos. | This is a template for [http://www.youtube.com YouTube] videos. |
Revision as of 07:11, 8 March 2007
This is a template for YouTube videos.
This template is used as follows:
{{YouTube |float=left, right, or none (default: right) |video=ID of the video (not its full URL) |title=name of the video |duration=duration in minutes:seconds (optional) |image=full URL of screencap |description=description of the video (optional) }}