Difference between revisions of "Template:Youtube"

From Ballotpedia
Jump to: navigation, search
(test)
 
Line 1: Line 1:
<div style="float:right">
+
<div style="float:{{#if:{{{float|}}}|{{{float}}}|right}}">
 
{|class="wikitable" cellspacing="0" cellpadding="5" width="205"
 
{|class="wikitable" cellspacing="0" cellpadding="5" width="205"
 
|-
 
|-
 
|{{#ev:youtube|{{{title}}}|{{{size}}}}}<br><span style="font-size:80%">{{{caption}}}</span>
 
|{{#ev:youtube|{{{title}}}|{{{size}}}}}<br><span style="font-size:80%">{{{caption}}}</span>
 
|}</div><noinclude>{{Documentation}}[[Category:State legislative tools]][[Category:Congress tools]]</noinclude>
 
|}</div><noinclude>{{Documentation}}[[Category:State legislative tools]][[Category:Congress tools]]</noinclude>

Latest revision as of 17:10, 28 June 2013

EmbedVideo received the illegal width parameter "{{{size}}}".

{{{caption}}}
[edit] Template-info.png Template documentation

This is a template to create a youtube video embedded on the right side of the page

Copy/paste

{{youtube|title=|size=|caption=}}

Explanation

{{youtube
|title=All of the letters in the URL '''after''' the "v="
|size=The pixeled size of the video, such as 200 or 300
|caption=Whatever caption you want to type}}

Example

{{Youtube|title=4MwjvOxSgic|size=300|caption=[[Rand Paul]] video.}}

Rand Paul takes the floor on March 6, 2013, for a 13-hour filibuster on CIA Director confirmation and drone use. This video is the first hour.