Difference between revisions of "Template:Event"

From Hackerspace.gr
Jump to: navigation, search
m
(Bring event metadata on top)
Line 1: Line 1:
<!-- template shamelessly copied from syn2cat -->
 
 
<includeonly>
 
<includeonly>
 +
{| 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] }}
 +
! Starts
 +
! Organizer
 +
|-
 +
| style="text-align: center;padding: 0 15px;" | {{#time: D d M Y G:i | {{{from}}} }}
 +
| style="text-align: center;padding: 0 15px;" | {{{who|}}}
 +
|-
 +
! Ends
 +
! Event Owner
 +
|-
 +
| style="text-align: center;padding: 0 15px;" | {{#time: D d M Y G:i | {{{till}}} }}
 +
| style="text-align: center;padding: 0 15px;" | {{{eventowner}}}
 +
|}
 +
 +
 +
<!-- 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="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; " |
Line 40: Line 57:
 
|}
 
|}
  
{{{tagline|}}}
+
{#if {{{tagline|}}} | {{{tagline}}} }}
  
 
<!-- *** Let's automate the semantic info *** -->
 
<!-- *** Let's automate the semantic info *** -->
Line 48: Line 65:
 
[[title::{{{what}}}| ]]
 
[[title::{{{what}}}| ]]
 
[[eventowner::{{{eventowner}}}| ]]
 
[[eventowner::{{{eventowner}}}| ]]
[[tagline::{{{tagline}}}| ]]
 
 
[[logo::{{{logo}}}| ]]
 
[[logo::{{{logo}}}| ]]
 
[[Category:Events]]
 
[[Category:Events]]

Revision as of 16:37, 1 November 2017


Usage

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