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:VidCaption"

From Chewiki Archive - YouChew: 1% Funny, 99% Hot Gas
m (Let's see if I can do this idea again.)
m (The background of this template is purple on Fiddle's page, but stays normal on other pages.)
Line 1: Line 1:
<div class="noprint" style="clear: right; float:right; border:1px solid {{ #ifeq: {{PAGENAME}} | Fiddlesticks411 | purple | blue }};width:260px;margin:10px;background-color:#fff;padding:3px;">{{#ev:youtube|{{{1}}}|260}}<br /><small align="center">{{{2}}}<br /></small></div><noinclude>
+
<div class="noprint" style="clear: right; float:right; border:1px solid {{ #ifeq: {{PAGENAME}} | Fiddlesticks411 | purple | blue }};width:260px;margin:10px;background-color:#{{#ifeq:{{FULLPAGENAME}}|Fiddlesticks411|fffafa|fff}};padding:3px;">{{#ev:youtube|{{{1}}}|260}}<br /><small align="center">{{{2}}}<br /></small></div><noinclude>
 
==Usage==
 
==Usage==
 
This is a variation of displaying the EmbedVideo plugin. Unlike Template:Debut, this will not screw up your page's layout! This allows users to specify their own captions.
 
This is a variation of displaying the EmbedVideo plugin. Unlike Template:Debut, this will not screw up your page's layout! This allows users to specify their own captions.

Revision as of 07:15, 22 December 2009

{{#ev:youtube|{{{1}}}|260}}
{{{2}}}

Usage

This is a variation of displaying the EmbedVideo plugin. Unlike Template:Debut, this will not screw up your page's layout! This allows users to specify their own captions.

Developed by The Electric Cheese