Template:Event
From syn2cat - HackerSpace.lu
(Difference between revisions)
m (file) |
m (trying out description to the left) |
||
Line 15: | Line 15: | ||
| #default = [[Image:Event.png|link=|left|40px]] | | #default = [[Image:Event.png|link=|left|40px]] | ||
}}<div style="font-size: 150%;text-align:right;padding-right:3px;">{{#if:{{{what|}}}|{{{what}}}|{{PAGENAME}} }}</div> | }}<div style="font-size: 150%;text-align:right;padding-right:3px;">{{#if:{{{what|}}}|{{{what}}}|{{PAGENAME}} }}</div> | ||
− | <div style="font-size:110%;text-align:right;padding-right:3px;">[[Has subtitle::{{{subtitle|}}}]]</div> | + | <div style="font-size:110%;text-align:right;padding-right:3px;">[[Has subtitle::{{{subtitle|}}}]]</div> <!-- |
|- | |- | ||
− | | colspan="2" style="padding: 7px;" | ''[[Has description::{{{intro|}}}]]'' | + | | colspan="2" style="padding: 7px;" | ''[[Has description::{{{intro|}}}]]''--> |
|- | |- | ||
| colspan="2" style="padding: 10px 0px; text-align:center;" |<!-- setting custom image if available-->[[File:{{#if: {{{logo|}}} |<!--then-->{{{logo}}}|<!--else-->G8033.png}}|240px|link=]] | | colspan="2" style="padding: 10px 0px; text-align:center;" |<!-- setting custom image if available-->[[File:{{#if: {{{logo|}}} |<!--then-->{{{logo}}}|<!--else-->G8033.png}}|240px|link=]] | ||
Line 61: | Line 61: | ||
| style="padding: 0 7px;" | '''[[Template:Event#QrCode|QrCode]]''': || {{#qrcode:}} | | style="padding: 0 7px;" | '''[[Template:Event#QrCode|QrCode]]''': || {{#qrcode:}} | ||
|} | |} | ||
+ | |||
+ | [[Has description::{{{description|}}}]] | ||
+ | |||
+ | |||
<!-- *** Let's automate the semantic info *** --> | <!-- *** Let's automate the semantic info *** --> | ||
{{#ifeq: {{{u19|}}} | yes | [[Category:U19]] }} | {{#ifeq: {{{u19|}}} | yes | [[Category:U19]] }} | ||
Line 101: | Line 105: | ||
| eventtype = <party, conference, camp, workshop, meeting> | | eventtype = <party, conference, camp, workshop, meeting> | ||
| what = <event title> | | what = <event title> | ||
− | | | + | | description= <event description> |
| from= <Datetime> | | from= <Datetime> | ||
| till= <Datetime> | | till= <Datetime> |
Revision as of 11:21, 16 July 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 template will not operate correctly!
{{Event | logo = <filename> | eventtype = <party, conference, camp, workshop, meeting> | what = <event title> | description= <event description> | from= <Datetime> | till= <Datetime> | external=<no,yes> (Whether an event is organized by us or somebody else) | announce=<no,yes> (Whether an event is supposed to be announced on twitter, agendas) | recurring = <no, daily, weekly, bi-weekly, monthly, dayofweekinmonth, bi-monthly, yearly> | cost=0€ | u19 = <yes/no> | location=Hackerspace, Strassen | contact= <comma-delimited list of the organisers> | attendees = <string> Everyone | url=http://www.website.com }}