Template:Event: Difference between revisions

Template page
mNo edit summary
m (CSS-Test)
 
(47 intermediate revisions by 7 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|Conference|Camp|Screening|other
  |  Date=year/month/day of the event
  |  Date = YYYY-MM-DD of the event
  |  Start=hour:minutes of beginning
|  FirstDate = YYYY-MM-DD of the first time a recurring event occurred
  |  Contact=username of the contact person
|  ExceptDates = YYYY-MM-DD, YYYY-MM-DD, ... (''optional'')
|  AdditionalDates = YYYY-MM-DD, YYYY-MM-DD, ... (''optional'')
|  LastDate = YYYY-MM-DD of the last time a recurring event occurred
  |  Start = HH:MM of beginning
  |  End = HH:MM of ending
|  Duration = duration in hours (''optional'')
|  Speaker = Name of the speaker, instructor or working group (''optional'')
|  Host = Username of the responsible Chaosdorf member
|  Location = Ort (''optional'', external locations or weblinks only)
|  isArchived = yes/no
|  isRelevant = yes/no
}}</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>{{infobox start
! colspan="2" style="background: #333; color: white" | {{{Title}}}
|headershade=0, 255, 255
|-
|name=[[Has title::{{{Title}}}]]
| colspan="2" style="background: #555; color: white; text-align: center" | {{{Description}}}
|description={{{Description|}}}
|-
}}<!--
| Type
 
| [[:Category:{{{Type}}}|{{{Type}}}]]
-->{{ifnotempty|{{{Type|}}}            | {{infobox row |name=Art              | value=[[:Category:{{{Type}}}|{{{Type}}}]]                          }}}}<!--
|-
-->{{ifnotempty|{{{Date|}}}            | {{infobox row |name=Datum            | value=[[Has Date::{{{Date}}}]]                                    }}}}<!--
| Date
-->{{ifnotempty|{{{FirstDate|}}}        | {{infobox row |name=Erstmals        | value=[[Has first date::{{{FirstDate}}}]]                              }}}}<!--
| {{{Date}}}
-->{{ifnotempty|{{{ExceptDates|}}}      | {{infobox row |name=außer an        | value={{#arraymap:{{{ExceptDates|}}}|,|x|[[Has Date::x]]}}        }}}}<!--
|-
-->{{ifnotempty|{{{AdditionalDates|}}}  | {{infobox row |name=zusätzl. Termine | value={{#arraymap:{{{AdditionalDates|}}}|,|x|[[Has Date::x]]}}    }}}}<!--
| Start
-->{{ifnotempty|{{{LastDate|}}}        | {{infobox row |name=Letztmals        | value=[[Has last date::{{{LastDate}}}]]                                }}}}<!--
| {{{Start}}}
-->{{ifnotempty|{{{Start|}}}           | {{infobox row |name=Start            | value=[[Starts at::{{{Start}}}]]                                  }}}}<!--
|-
-->{{ifnotempty|{{{End|}}}              | {{infobox row |name=Ende            | value=[[Ends at::{{{End}}}]]                                      }}}}<!--
| Contact
-->{{ifnotempty|{{{Duration|}}}         | {{infobox row |name=Dauer            | value=[[Has duration::{{{Duration}}}]]h                            }}}}<!--
| {{ U | {{{Contact}}} }}
-->{{ifnotempty|{{{Speaker|}}}          | {{infobox row |name=Speaker          | value=[[Has Speaker::{{{Speaker}}}]]                              }}}}<!--
|}<!--
-->{{ifnotempty|{{{Host|}}}            | {{infobox row |name=Host            | value={{#arraymap:{{{Host|}}}|,|x|{{U|x}} {{#set: Has host=x }} }} }}}}<!--
--><includeonly>{{#ifeq:{{{Type|}}}|Party|[[Category:Party]]||}}</includeonly><!--
-->{{ifnotempty|{{{Location|}}}        | {{infobox row |name=Ort              | value={{{Location|}}} {{#set: Has location={{{Location|}}} }}      }}}}<!--
--><includeonly>{{#ifeq:{{{Type|}}}|Meet-Up|[[Category:Meet-Up]]||}}</includeonly><!--
-->{{ifnotempty|{{{isArchived|}}}       | {{infobox row |name=Event archiviert?| value=[[Is archived::{{{isArchived|}}}]]                          }}}}<!--
--><includeonly>{{#ifeq:{{{Type|}}}|Hackathon|[[Category:Hackathon]]||}}</includeonly><!--
-->{{ifnotempty|{{{isRelevant|}}}      | {{infobox row |name=Relevant?        | value=[[Is relevant::{{{isRelevant|}}}]]                          }}}}<!--
--><includeonly>{{#ifeq:{{{Type|}}}|Workshop|[[Category:Workshop]]||}}</includeonly><!--
 
--><includeonly>{{#ifeq:{{{Type|}}}|Talk|[[Category:Talk]]||}}</includeonly><!--
 
--><includeonly>[[Category:Event]]</includeonly>
 
-->
|}</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>

Latest revision as of 08:29, 20 April 2024


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|Conference|Camp|Screening|other
 |  Date = YYYY-MM-DD of the event
 |  FirstDate = YYYY-MM-DD of the first time a recurring event occurred
 |  ExceptDates = YYYY-MM-DD, YYYY-MM-DD, ... (''optional'')
 |  AdditionalDates = YYYY-MM-DD, YYYY-MM-DD, ... (''optional'')
 |  LastDate = YYYY-MM-DD of the last time a recurring event occurred
 |  Start = HH:MM of beginning
 |  End = HH:MM of ending
 |  Duration = duration in hours (''optional'')
 |  Speaker = Name of the speaker, instructor or working group (''optional'')
 |  Host = Username of the responsible Chaosdorf member
 |  Location = Ort (''optional'', external locations or weblinks only)
 |  isArchived = yes/no
 |  isRelevant = yes/no
}}

See also: Help:EventDate