Difference between revisions of "Template:Video"

From Hackerspace.gr
Jump to: navigation, search
m
m
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- template shamelessly copied from syn2cat -->
 
 
<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%"  
|- class="ext-header"
 
! style="font-size: 1.5em; color: black; background: #fff" align="center" |  {{PAGENAME}}
 
|-
 
| {{#time: D d M Y G:i | {{{date}}} }}
 
 
|-
 
|-
 
! 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:
Line 17: Line 14:
 
! 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 *** -->
[[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
| logo=Image:Hsgvideo.png
+
 
| title=Event
 
| title=Event
 
| date=June 22, 2022
 
| date=June 22, 2022
Line 43: Line 46:
 
| 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''