Template:Event: Difference between revisions

From Chaosdorf Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
(31 intermediate revisions by 3 users not shown)
Line 4: Line 4:


<pre>{{Event
<pre>{{Event
  |  Title=full title of the given event
  |  Title = full title of the given event
  |  Description=short description
  |  Description = short description
  |  Type=[Talk|Workshop|Hackathon|Meet-Up|Party]
  |  Type = Lecture|Workshop|Hackathon|Meet-Up|Party|Screening
  |  Date=year/month/day of the event
  |  Date = YYYY-MM-DD of the event
  |  Start=hour:minutes of beginning
  |  Start = HH:MM of beginning
  |  Contact=username of the contact person
  |  End = HH:MM of ending
|  Duration = duration in hours
|  Speaker = Name of the speaker, instructor or working group (''optional'')
|  Host = Username of the responsible Chaosdorf member
|  Location = Ort (''optional'', nur für externe Veranstaltungen)
}}</pre>
}}</pre>


</noinclude>
See also: [[Help:EventDate]]


{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
</noinclude><includeonly>
! colspan="2" style="background: #333; color: white" | {{{Title}}}
{{infobox start
|-
|headercolor=#ccffff
| colspan="2" style="background: #555; color: white" | {{{Description}}}
|name={{{Title}}}
|-
|description={{{Description|}}}
| Type
}}<!--
| [[:Category:{{{Type}}}|{{{Type}}}]]
 
|-
-->{{ifnotempty|{{{Type|}}}    |{{infobox row |name=Art      |value=[[:Category:{{{Type}}}|{{{Type}}}]] }}}}<!--
| Date
-->{{ifnotempty|{{{Date|}}}    |{{infobox row |name=Datum    |value=[[Has Date::{{{Date}}}]]                          }}}}<!--
| {{{Date}}}
-->{{ifnotempty|{{{Start|}}}  |{{infobox row |name=Start    |value=[[Starts at::{{{Start}}}]]                          }}}}<!--
|-
-->{{ifnotempty|{{{End|}}}  |{{infobox row |name=End    |value=[[Ends at::{{{End}}}]]                          }}}}<!--
| Start
-->{{ifnotempty|{{{Duration|}}}|{{infobox row |name=Dauer    |value={{{Duration}}}h                      }}}}<!--
| {{{Start}}}
-->{{ifnotempty|{{{Speaker|}}} |{{infobox row |name=Speaker  |value=[[Has Speaker::{{{Speaker}}}]]                        }}}}<!--
|-
-->{{ifnotempty|{{{Host|}}}    |{{infobox row |name=Host      |value={{#arraymap:{{{Host|}}}|,|x|{{U|x}}}} }}}}<!--
| Contact
-->{{ifnotempty|{{{Location|}}}|{{infobox row |name=Ort      |value={{{Location|}}}                     }}}}<!--
| {{ U | {{{Contact}}} }}
 
-->
|}
|}
</includeonly><!--
--><includeonly>{{#ifeq:{{{Type|}}}|Party|[[Category:Party]]|}}</includeonly><!--
--><includeonly>{{#ifeq:{{{Type|}}}|Meet-Up|[[Category:Meet-Up]]|}}</includeonly><!--
--><includeonly>{{#ifeq:{{{Type|}}}|Hackathon|[[Category:Hackathon]]|}}</includeonly><!--
--><includeonly>{{#ifeq:{{{Type|}}}|Workshop|[[Category:Workshop]]|}}</includeonly><!--
--><includeonly>{{#ifeq:{{{Type|}}}|Lecture|[[Category:Lecture]]|}}</includeonly><!--
--><includeonly>{{#ifeq:{{{Type|}}}|Conference|[[Category:Conference]]|}}</includeonly><!--
--><includeonly>{{#ifeq:{{{Type|}}}|Camp|[[Category:Camp]]|}}</includeonly><!--
--><includeonly>[[Category:Events]]</includeonly>

Revision as of 22:05, 28 October 2015


Put this template box on event pages.

{{Event
 |  Title = full title of the given event
 |  Description = short description
 |  Type = Lecture|Workshop|Hackathon|Meet-Up|Party|Screening
 |  Date = YYYY-MM-DD of the event
 |  Start = HH:MM of beginning
 |  End = HH:MM of ending
 |  Duration = duration in hours
 |  Speaker = Name of the speaker, instructor or working group (''optional'')
 |  Host = Username of the responsible Chaosdorf member
 |  Location = Ort (''optional'', nur für externe Veranstaltungen)
}}

See also: Help:EventDate