Difference between revisions of "Template:Youtube"

From Ballotpedia
Jump to: navigation, search
(test)
(test format change)
 
Line 3: Line 3:
 
|-
 
|-
 
|{{#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 09:38, 4 August 2014

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.