Difference between revisions of "Template:MainPageVideo"

From Wikispooks
Jump to navigation Jump to search
m
m (link to archive)
Line 11: Line 11:
 
<div style="padding:0.5em;font-size:90%;text-align:center;">
 
<div style="padding:0.5em;font-size:90%;text-align:center;">
 
{{#widget:YouTube|width=460px|height=300px|id={{{video_code|}}} }}<br/>
 
{{#widget:YouTube|width=460px|height=300px|id={{{video_code|}}} }}<br/>
{{{text|}}}</div></includeonly>
+
{{{text|}}}. <small>[[Main Page/Video archive|Video archive]]</small></div></includeonly>

Revision as of 07:17, 25 July 2014

This template makes a video panel for the main page.

Usage:
{{MainPageVideo
|title= section title
|video_code= YouTube video code
|text= description of video
}}