Difference between revisions of "Template:MainPageVideo"

From Wikispooks
Jump to navigation Jump to search
m (video size)
m (tweek auto-link)
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=420px|height=280px|id={{{video_code|}}} }}<br/>
 
{{#widget:YouTube|width=420px|height=280px|id={{{video_code|}}} }}<br/>
{{{text|}}}.. <small>[[Main Page/Video archive|Video archive]]</small></div></includeonly>
+
{{{text|}}}<br/><small>[[Main Page/Video archive|Video archive]]</small></div></includeonly>

Revision as of 06:17, 3 September 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
}}