Difference between revisions of "Template:Event"

From Hackerspace.gr
Jump to: navigation, search
m
(Revert location change)
 
(66 intermediate revisions by 4 users 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"
+
{| class="wikitable event-details"
| align="center"  colspan="1" style="background-color: white; text-align: center; " |
+
{| width="100%"
+
|- class="ext-header"
+
! style="font-size: 1.5em; color: black; background: #fff" align="center" |  {{{what}}}
+
 
|-
 
|-
| {{#time: D d M Y G:i | {{{from}}} }} <br> till {{#time: D d M Y G:i | {{{till}}} }}
+
| rowspan="4" style="text-align: center; padding: 15px 15px 5px 15px" | {{#if: {{{logo|}}} | [[Image:{{{logo}}}|none|110px]] | [[Image:Hackerspace_event.png|none|110px]] }} {{#if: {{{url|}}} | <br> [{{{url}}} external link] }}
 +
! Starts
 +
! Organizer
 
|-
 
|-
! style="padding: 0px ;" | [[Image:{{{logo}}}|none|200px|{{{what}}}]]
+
| style="text-align: center;padding: 0 15px;" | {{#time: D d M Y G:i | {{{from}}} }}
 +
| style="text-align: center;padding: 0 15px;" | {{{who|}}}
 
|-
 
|-
! style="padding: 0px; background: #ccc"  | What:
+
! Ends
 +
! Event Owner
 
|-
 
|-
| {{{what}}}
+
| style="text-align: center;padding: 0 15px;" | {{#time: D d M Y G:i | {{{till}}} }}
|-
+
| style="text-align: center;padding: 0 15px;" | {{{eventowner}}}
! style="padding: 0 7px; background: #ccc" | Tagline:
+
|-
+
| {{{tagline|}}}
+
|-
+
! style="padding: 0px; background: #ccc" | Where:
+
|-
+
| {{{where|}}}  {{{city|}}},{{{country|}}}
+
{{#if: {{{location|}}} |
+
{{
+
#display_point:
+
{{{location|}}}~{{{where}}}, {{{city}}}
+
|width=200
+
|height=200
+
|service=openlayers
+
|layers=gmap
+
|controls=navigation,panzoom
+
}}
+
|}}
+
|-
+
! style="padding: 0px; background: #ccc" | Cost:
+
|-
+
| {{{cost|}}}
+
|-
+
! style="padding: 0px; background: #ccc" | Who:
+
|-
+
| {{{who|}}}
+
|-
+
! style="padding: 0px; background: #ccc" | URL:
+
|-
+
| {{{url|}}}
+
|-
+
|}
+
 
|}
 
|}
 +
 +
{{{tagline|}}}
 +
 
<!-- *** Let's automate the semantic info *** -->
 
<!-- *** Let's automate the semantic info *** -->
 
[[Start date::{{{from}}}| ]]
 
[[Start date::{{{from}}}| ]]
 
[[End date::{{{till}}}| ]]
 
[[End date::{{{till}}}| ]]
[[location::{{{where}}}| ]]
+
[[title::{{{what}}}| ]]
[[city::{{{city}}}| ]]
+
[[eventowner::{{{eventowner}}}| ]]
[[country::{{{country}}}| ]]
+
[[location::{{{location}}}| ]]
[[cost::{{{cost}}}| ]]
+
[[logo::{{{logo}}}| ]]
[[displaytitle::{{{what}}}| ]]
+
 
[[Category:Events]]
 
[[Category:Events]]
 
<!-- Semantic end-->
 
<!-- Semantic end-->
 +
 
{{DISPLAYTITLE:{{{what}}}}}
 
{{DISPLAYTITLE:{{{what}}}}}
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
Copy and paste this code or simply use the [[Form:Event]] to add your event.<br/>
+
This is a template for events. To add an event use the [[Form:Event|Form]].
If you don't set a "till" date, the "from" date will be used.
+
<br/>
+
<pre>
+
{{Event
+
| logo=Image:Arduino316.jpg
+
| what=Event
+
| tagline=Where microcontrollers learn to fly.
+
| from=June 22, 2022
+
| till=June 23, 2022
+
| where=HSB
+
| city=Brussels
+
| country=Belgium
+
| cost=0€
+
| url=http://voidpointer.be
+
| coordinates=xyz.abc° N, uio.asd° E
+
}}
+
</pre>
+
 
</noinclude>
 
</noinclude>

Latest revision as of 09:22, 8 November 2017


Usage

This is a template for events. To add an event use the Form.