Difference between revisions of "Template:Video"

From Hackerspace.gr
Jump to: navigation, search
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 *** -->
[[Date::{{{date}}}| ]]
+
[[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 or simply use the [[Form:Video]] to add your event.<br/>
+
Copy and paste this code<br/>
If you don't set a "till" date, the "from" date will be used.
+
 
<br/>
 
<br/>
 
<pre>
 
<pre>
{{Event
+
{{Video
 
| title=Event
 
| title=Event
| url=http://www.archive.org/.webm
 
 
| 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''