Notice: We are aware that many of the Chewiki’s images are still broken. We promise: we will try our best to fix it, but we don't guarantee that the fix will be trivial.

Difference between revisions of "Template:YTVideo"

From Chewiki Archive - YouChew: 1% Funny, 99% Hot Gas
m (Let's see if this works so far.)
m (I know, I'm making an awful lot of edits on this Chewiki. But meh.)
Line 1: Line 1:
<includeonly>{{ #if: {{{private|}}} |  }}{{ #if: {{{id|}}} |  }}{{ #if: {{{privateid}}} |  }}
+
<includeonly>{{ #if: {{{private|}}} |  }}{{ #if: {{{id|}}} |  }}{{ #if: {{{privateid}}} |  }}{{ #if: {{{annotation}} |  }}{{ #if: {{{annotationid}} |  }}
<span style="border:1px crimson solid; background:lightYellow; padding-top:2px; padding-right:3px;">[[Image:Yticon.png]] <span class="plainlinks">[http://www.youtube.com/{{ #ifeq: {{{private}}} | yes | watch_private?v={{{id}}}&sharing_token={{{privateid}}}== | watch?v={{{id}}} }}{{ #if: {{{format|}}} | &fmt={{{format}}} }} Watch Video]</span></span>
+
<span style="border:1px crimson solid; background:lightYellow; padding-top:2px; padding-right:3px;">[[Image:Yticon.png]] <span class="plainlinks">[http://www.youtube.com/{{ #ifeq: {{{private}}} | yes | watch_private?v={{{id}}}&sharing_token={{{privateid}}}== | watch?v={{{id}}} }}{{ #ifeq: {{{annotation}}} | yes | &layer_token={{{annotationid}}} |  }}{{ #if: {{{format|}}} | &fmt={{{format}}} }} Watch Video]</span></span>
 
</includeonly><noinclude><div style="border:2px green solid; background:PaleGreen;">
 
</includeonly><noinclude><div style="border:2px green solid; background:PaleGreen;">
 
{|
 
{|

Revision as of 09:43, 28 November 2009

! (The actual template in action has been hidden on this page)

Use this template to link to YouTube videos with a fancy boxed in style without the sticky sexy mess. Usage:

{{YTVideo|<Video ID goes here>}}