Difference between revisions of "Template:MainPageVideo"

From Wikispooks
Jump to navigation Jump to search
m (t)
m (Text replacement - "WikiSpooks" to "Wikispooks")
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>This template is to define and is included in the video box section of the main page
+
<noinclude>'''This template makes a video panel for the main page.'''[[Category:Wikispooks Templates]]<br/>
 
+
<br/>
<poem>
+
Usage:<br/>
{{MainPageVideo
+
<nowiki>{{</nowiki>{{PAGENAME}}<br/>
|video_header = Ukraine Punitive operation
+
|title= section title<br/>
|video_code = B7TScRvpwqo
+
|video_code= YouTube video code<br/>
|video_description = This video focuses on the criminal punitive operation waged by the Kiev regime, directed against the people of Eastern Ukraine. Supported by the West, the Kiev regime says that these people are “terrorists” and “subhumans”. The western media applauds. The National Guard largely made of Right Sector Neo-Nazis has committed countless atrocities.
+
|text= description of video<br/>
}}</poem>
+
<nowiki>}}</nowiki>
</noinclude><includeonly><div style="border-bottom:1px solid #9a9a9a; background-color:#f6f6f6; padding:0.5em 0.5em; font-size:115%; text-align:center;">'''{{{video_header|}}}'''</div>
+
</noinclude><includeonly>
<div style="padding:0.5em 0.5em 0.5em 0.5em;font-size:100%;">
+
<div style="border-bottom:1px solid #9a9a9a; background-color:#d0e5f5; padding:0.5em 0.5em; font-size:112%;text-align:center;">'''{{{title|}}}'''</div>
{{#widget:YouTube|width=360px|height=300px|id={{{video_code|}}} }}<br/>
+
<div style="padding:0.5em;font-size:90%;text-align:center;">
{{{video-description|}}}
+
{{#widget:YouTube|width=420px|height=280px|id={{{video_code|}}} }}<br/>
</div>
+
{{{text|}}}<br/><small>[[Main Page/Video archive|Video archive]]</small></div></includeonly>
}}</includeonly>
 

Latest revision as of 17:20, 14 October 2018

This template makes a video panel for the main page.

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