Difference between revisions of "Template:MainPageVideo"

From Wikispooks
Jump to navigation Jump to search
m (mods)
m
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|}}}
+
{{{text|}}}</div></includeonly>
</div>
 
</includeonly>
 

Revision as of 07:21, 27 June 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
}}