Difference between revisions of "Template:Event"

From Hackerspace.gr
Jump to: navigation, search
m (Reverted edits by Comzeradd (talk) to last revision by Ppapadeas)
m
Line 5: Line 5:
 
{| width="100%"  
 
{| width="100%"  
 
|- class="ext-header"
 
|- class="ext-header"
! style="font-size: 1.5em; color: black; background: #fff" align="center" |  {{PAGENAME}}
+
! 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}}} }}
 
| {{#time: D d M Y G:i | {{{from}}} }} <br> till {{#time: D d M Y G:i | {{{till}}} }}
 
|-
 
|-
! style="padding: 0px ;" | [[Image:{{{logo}}}|200px]]  
+
! style="padding: 0px ;" | [[Image:{{{logo}}}|none|200px|{{{what}}}]]
 
|-
 
|-
 
! style="padding: 0px; background: #ccc"  | What:
 
! style="padding: 0px; background: #ccc"  | What:
Line 22: Line 22:
 
|-
 
|-
 
| {{{where|}}}  {{{city|}}},{{{country|}}}
 
| {{{where|}}}  {{{city|}}},{{{country|}}}
<!--
 
 
{{#if: {{{location|}}} |
 
{{#if: {{{location|}}} |
 
{{
 
{{
 
#display_point:
 
#display_point:
 
{{{location|}}}~{{{where}}}, {{{city}}}
 
{{{location|}}}~{{{where}}}, {{{city}}}
|width=250
+
|width=200
|height=250
+
|height=200
 
|service=openlayers
 
|service=openlayers
|layers=google,yahoo
 
 
|controls=navigation,panzoom
 
|controls=navigation,panzoom
 
}}
 
}}
 
|}}
 
|}}
-->
 
 
|-
 
|-
 
! style="padding: 0px; background: #ccc" | Cost:
 
! style="padding: 0px; background: #ccc" | Cost:
Line 46: Line 43:
 
! style="padding: 0px; background: #ccc"  | URL:
 
! style="padding: 0px; background: #ccc"  | URL:
 
|-
 
|-
| [[url::{{{url|}}}]]
+
| {{{url|}}}
 
|-
 
|-
 
|}
 
|}
 
|}
 
|}
 +
 
<!-- *** Let's automate the semantic info *** -->
 
<!-- *** Let's automate the semantic info *** -->
 
[[Start date::{{{from}}}| ]]
 
[[Start date::{{{from}}}| ]]
Line 57: Line 55:
 
[[country::{{{country}}}| ]]
 
[[country::{{{country}}}| ]]
 
[[cost::{{{cost}}}| ]]
 
[[cost::{{{cost}}}| ]]
[[Category:Event]]
+
[[displaytitle::{{SUBPAGENAME}}|{{{what}}}]]
 +
[[Category:Events]]
 
<!-- Semantic end-->
 
<!-- Semantic end-->
 +
{{DISPLAYTITLE:{{{what}}}}}
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>

Revision as of 00:20, 7 October 2011


Usage

Copy and paste this code or simply use the Form:Event to add your event.
If you don't set a "till" date, the "from" date will be used.

{{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
}}