Difference between revisions of "Template:MainPageVideo"
Jump to navigation
Jump to search
m (t) |
m (mods) |
||
Line 1: | Line 1: | ||
− | <noinclude>This template | + | <noinclude>'''This template makes a video panel for the main page.'''[[Category:WikiSpooks Templates]]<br/> |
− | <div style="border-bottom:1px solid #9a9a9a; background-color:# | + | <br/> |
+ | Usage:<br/> | ||
+ | <nowiki>{{</nowiki>{{PAGENAME}}<br/> | ||
+ | |title= section title<br/> | ||
+ | |video_code= YouTube video code<br/> | ||
+ | |text= description of video<br/> | ||
+ | <nowiki>}}</nowiki> | ||
+ | </noinclude><includeonly> | ||
+ | <div style="border-bottom:1px solid #9a9a9a; background-color:#d0e5f5; padding:0.5em 0.5em; font-size:112%;text-align:center;">'''{{{title|}}}'''</div> | ||
<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= | + | {{#widget:YouTube|width=460px|height=300px|id={{{video_code|}}} }}<br/> |
− | + | {{{text|}}} | |
</div> | </div> | ||
+ | </includeonly> |
Revision as of 07:06, 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
}}