Template:Event: Difference between revisions

Template page
m (form)
(infobox template und so)
Line 15: Line 15:
See also: [[Help:EventDate]]
See also: [[Help:EventDate]]


</noinclude>
[[Page has default form::Event| ]]
[[Page has default form::Event| ]]
{| 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"
 
! colspan="2" style="background: #333; color: white" | {{{Title}}}
</noinclude><includeonly>
|-
{{infobox start
| colspan="2" style="background: #555; color: white; text-align: center" | {{{Description}}}
|headercolor=#ccffff
|-
|name={{{Title}}}
| Type
|description={{{Description|}}}
| [[:Category:{{{Type}}}|{{{Type}}}]]
}}<!--
|-
 
| Date
-->{{ifnotempty|{{{Type|}}}   |{{infobox row |name=Type     |value=[[:Category:{{{Type}}}|{{{Type}}}]] }}}}<!--
| {{{Date}}}
-->{{ifnotempty|{{{Date|}}}   |{{infobox row |name=Date      |value={{{Date}}}                           }}}}<!--
|-
-->{{ifnotempty|{{{Start|}}}   |{{infobox row |name=Start    |value={{{Start}}}                         }}}}<!--
| Start
-->{{ifnotempty|{{{Speaker|}}} |{{infobox row |name=Speaker  |value={{{Speaker}}}                        }}}}<!--
| {{{Start}}}
-->{{ifnotempty|{{{Host|}}}   |{{infobox row |name=Host      |value={{ U | {{{Speaker}}} }}             }}}}<!--
|-
 
{{#if:{{{Speaker|}}}|{{!}}Speaker}}
-->
{{#if:{{{Speaker|}}}|{{!}}{{{Speaker}}}}}
|}
|-
</includeonly><!--
{{#if:{{{Host|}}}|{{!}}Host}}
{{#if:{{{Host|}}}|{{!}}{{ U | {{{Host}}} }}}}
|}<!--
--><includeonly>{{#ifeq:{{{Type|}}}|Party|[[Category:Party]]|}}</includeonly><!--
--><includeonly>{{#ifeq:{{{Type|}}}|Party|[[Category:Party]]|}}</includeonly><!--
--><includeonly>{{#ifeq:{{{Type|}}}|Meet-Up|[[Category:Meet-Up]]|}}</includeonly><!--
--><includeonly>{{#ifeq:{{{Type|}}}|Meet-Up|[[Category:Meet-Up]]|}}</includeonly><!--

Revision as of 00:42, 19 July 2012


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
 |  Date = YYYY-MM-DD of the event
 |  Start = HH:MM of beginning
 |  Speaker = Name of the speaker, instructor or working group (''optional'')
 |  Host = Username of the responsible Chaosdorf member
}}

See also: Help:EventDate