Template:Video: Difference between revisions

From Hackerspace.gr
Jump to navigation Jump to search
Comzeradd (talk | contribs)
No edit summary
Comzeradd (talk | contribs)
mNo edit summary
 
(21 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}}
! style="padding: 0px ;" | [[Image:Hsgrvideo.png|none|200px]]
|-
|-
| {{#time: D d M Y G:i | {{{date}}} }}
| {{#time: D d M Y G:i | {{{date}}} }}
|-
! style="padding: 0px ;" | [[Image:Hsgrvideo.png|none|200px]]
|-
|-
! style="padding: 0px; background: #ccc"  | What:
! style="padding: 0px; background: #ccc"  | What:
Line 15: Line 12:
| {{{title}}}
| {{{title}}}
|-
|-
! style="padding: 0px; background: #ccc" | Video url:
! style="padding: 0px; background: #ccc" | Event:
|-
|-
| {{{url}}}
| {{{event|}}}
|-
|-
! style="padding: 0px; background: #ccc" | Event:
! style="padding: 0px; background: #ccc" | Video shooter:
|-
|-
| {{{event}}}
| {{{shooter|}}}
|-
|-
! style="padding: 0px; background: #ccc" | Video shooter:
! style="padding: 0px; background: #ccc" | Video thumb:
|-
|-
| {{{shooter}}}
| [[Image:{{{title}}}.jpg|none|200px|{{{title}}}]]
|-
|-
|}
|}
|}
|}
<videoflash type="html5" style="width:640px;height:360px;" controls>{{{url}}}</videoflash>
 
<!-- *** 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
| 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 14: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''