Difference between revisions of "Template:Video"
From Hackerspace.gr
m |
m |
||
(18 intermediate revisions by the same user not shown) | |||
Line 19: | Line 19: | ||
|- | |- | ||
| {{{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''