Difference between revisions of "Template:Video"
From Hackerspace.gr
m |
m |
||
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
<includeonly> | <includeonly> | ||
− | |||
− | |||
{| align="right" cellpadding="0" cellspacing="0" style="position:relative; margin: 1em 0 1em 2em; padding:0px; border-collapse: collapse; border: 1px solid #ccc; background: #fff; float: right; clear: right; width: 200px" | {| align="right" cellpadding="0" cellspacing="0" style="position:relative; margin: 1em 0 1em 2em; padding:0px; border-collapse: collapse; border: 1px solid #ccc; background: #fff; float: right; clear: right; width: 200px" | ||
| align="center" colspan="1" style="background-color: white; text-align: center; " | | | align="center" colspan="1" style="background-color: white; text-align: center; " | | ||
{| width="100%" | {| width="100%" | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
! style="padding: 0px ;" | [[Image:Hsgrvideo.png|none|200px]] | ! style="padding: 0px ;" | [[Image:Hsgrvideo.png|none|200px]] | ||
+ | |- | ||
+ | | {{#time: D d M Y G:i | {{{date}}} }} | ||
|- | |- | ||
! style="padding: 0px; background: #ccc" | What: | ! style="padding: 0px; background: #ccc" | What: | ||
|- | |- | ||
| {{{title}}} | | {{{title}}} | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
! style="padding: 0px; background: #ccc" | Event: | ! style="padding: 0px; background: #ccc" | Event: | ||
|- | |- | ||
− | | {{{event}}} | + | | {{{event|}}} |
|- | |- | ||
! style="padding: 0px; background: #ccc" | Video shooter: | ! style="padding: 0px; background: #ccc" | Video shooter: | ||
|- | |- | ||
− | | {{{shooter}}} | + | | {{{shooter|}}} |
+ | |- | ||
+ | ! style="padding: 0px; background: #ccc" | Video thumb: | ||
+ | |- | ||
+ | | [[Image:{{{title}}}.jpg|none|200px|{{{title}}}]] | ||
|- | |- | ||
|} | |} | ||
|} | |} | ||
+ | |||
<!-- *** Let's automate the semantic info *** --> | <!-- *** Let's automate the semantic info *** --> | ||
− | [[ | + | [[videodate::{{{date}}}| ]] |
+ | [[videotitle::{{{title}}}| ]] | ||
+ | [[videothumb::Image:{{{title}}}.jpg| ]] | ||
[[Category:Videos]] | [[Category:Videos]] | ||
<!-- Semantic end--> | <!-- Semantic end--> | ||
+ | {{DISPLAYTITLE:{{{title}}}}} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== | ||
− | Copy and paste this code | + | Copy and paste this code<br/> |
− | + | ||
<br/> | <br/> | ||
<pre> | <pre> | ||
− | {{ | + | {{Video |
− | + | ||
| title=Event | | title=Event | ||
− | |||
| date=June 22, 2022 | | date=June 22, 2022 | ||
| event=Hackfest | | event=Hackfest | ||
| shooter=Name | | shooter=Name | ||
}} | }} | ||
+ | <videoflash type="html5" style="width:640px;height:360px;" controls> | ||
+ | video-url-here (eg. archive.org/.webm | ||
+ | </videoflash> | ||
+ | <br /> | ||
+ | ''description'' | ||
+ | |||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Latest revision as of 13:10, 7 January 2012
Usage
Copy and paste this code
{{Video | title=Event | date=June 22, 2022 | event=Hackfest | shooter=Name }} <videoflash type="html5" style="width:640px;height:360px;" controls> video-url-here (eg. archive.org/.webm </videoflash> <br /> ''description''