Difference between revisions of "Template:Event"

From Hackerspace.gr
Jump to: navigation, search
(Bring event metadata on top)
(Revert location change)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
{| class="wikitable event-details"
 
{| class="wikitable event-details"
 
|-
 
|-
| 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] }}
+
| 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
 
! Starts
 
! Organizer
 
! Organizer
Line 16: Line 16:
 
|}
 
|}
  
 
+
{{{tagline|}}}
<!-- template shamelessly copied from syn2cat -->
+
{| 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; " |
+
{| 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}}} }}
+
|-
+
! style="padding: 0px ;" | [[Image:{{{logo}}}|none|200px|{{{what}}}]]
+
|-
+
! style="padding: 0px; background: #ccc"  | What:
+
|-
+
| {{{what}}}
+
|-
+
! style="padding: 0 7px; background: #ccc" | Event Owner:
+
|-
+
| {{{eventowner}}}
+
|-
+
! style="padding: 0px; background: #ccc" | Who:
+
|-
+
| {{{who|}}}
+
|-
+
! style="padding: 0px; background: #ccc"  | URL:
+
|-
+
| {{{url|}}}
+
|-
+
! style="padding: 0px; background: #ccc;" | Where:
+
|-
+
|
+
{{#display_map: {{{location|}}}
+
|width=auto
+
|height=200
+
|layers=osm-mapnik
+
|service=openlayers
+
|zoom=14
+
}}
+
|}
+
|}
+
 
+
{#if {{{tagline|}}} | {{{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::{{{location}}}| ]]
 
 
[[title::{{{what}}}| ]]
 
[[title::{{{what}}}| ]]
 
[[eventowner::{{{eventowner}}}| ]]
 
[[eventowner::{{{eventowner}}}| ]]
 +
[[location::{{{location}}}| ]]
 
[[logo::{{{logo}}}| ]]
 
[[logo::{{{logo}}}| ]]
 
[[Category:Events]]
 
[[Category:Events]]

Latest revision as of 09:22, 8 November 2017


Usage

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