Template:Event: Difference between revisions

Template page
m ("Code"-Lesbarkeit verbessert (keine inhaltliche Änderung))
(Added FirstDate and LastDate for recurring events, added isArchived for archived events)
Line 8: Line 8:
  |  Type = Lecture|Workshop|Hackathon|Meet-Up|Party|Conference|Camp|Screening|other
  |  Type = Lecture|Workshop|Hackathon|Meet-Up|Party|Conference|Camp|Screening|other
  |  Date = YYYY-MM-DD of the event
  |  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'')
  |  ExceptDates = YYYY-MM-DD, YYYY-MM-DD, ... (''optional'')
  |  AdditionalDates = 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
  |  Start = HH:MM of beginning
  |  End = HH:MM of ending
  |  End = HH:MM of ending
Line 15: Line 17:
  |  Speaker = Name of the speaker, instructor or working group (''optional'')
  |  Speaker = Name of the speaker, instructor or working group (''optional'')
  |  Host = Username of the responsible Chaosdorf member
  |  Host = Username of the responsible Chaosdorf member
  |  Location = Ort (''optional'', nur für externe Veranstaltungen)
  |  Location = Ort (''optional'', external locations or weblinks only)
|  isArchived = yes/no
  |  isRelevant = yes/no
  |  isRelevant = yes/no
}}</pre>
}}</pre>
Line 30: Line 33:
-->{{ifnotempty|{{{Type|}}}            | {{infobox row |name=Art              | value=[[:Category:{{{Type}}}|{{{Type}}}]]                          }}}}<!--
-->{{ifnotempty|{{{Type|}}}            | {{infobox row |name=Art              | value=[[:Category:{{{Type}}}|{{{Type}}}]]                          }}}}<!--
-->{{ifnotempty|{{{Date|}}}            | {{infobox row |name=Datum            | value=[[Has Date::{{{Date}}}]]                                    }}}}<!--
-->{{ifnotempty|{{{Date|}}}            | {{infobox row |name=Datum            | value=[[Has Date::{{{Date}}}]]                                    }}}}<!--
-->{{ifnotempty|{{{FirstDate|}}}        | {{infobox row |name=Erstmals        | value=[[Has Date::{{{FirstDate}}}]]                                }}}}<!--
-->{{ifnotempty|{{{ExceptDates|}}}      | {{infobox row |name=außer an        | value={{#arraymap:{{{ExceptDates|}}}|,|x|[[Has Date::x]]}}        }}}}<!--
-->{{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]]}}    }}}}<!--
-->{{ifnotempty|{{{AdditionalDates|}}}  | {{infobox row |name=zusätzl. Termine | value={{#arraymap:{{{AdditionalDates|}}}|,|x|[[Has Date::x]]}}    }}}}<!--
-->{{ifnotempty|{{{LastDate|}}}        | {{infobox row |name=Letztmals        | value=[[Has Date::{{{LastDate}}}]]                                }}}}<!--
-->{{ifnotempty|{{{Start|}}}            | {{infobox row |name=Start            | value=[[Starts at::{{{Start}}}]]                                  }}}}<!--
-->{{ifnotempty|{{{Start|}}}            | {{infobox row |name=Start            | value=[[Starts at::{{{Start}}}]]                                  }}}}<!--
-->{{ifnotempty|{{{End|}}}              | {{infobox row |name=End              | value=[[Ends at::{{{End}}}]]                                      }}}}<!--
-->{{ifnotempty|{{{End|}}}              | {{infobox row |name=Ende            | value=[[Ends at::{{{End}}}]]                                      }}}}<!--
-->{{ifnotempty|{{{Duration|}}}        | {{infobox row |name=Dauer            | value=[[Has duration::{{{Duration}}}]]h                            }}}}<!--
-->{{ifnotempty|{{{Duration|}}}        | {{infobox row |name=Dauer            | value=[[Has duration::{{{Duration}}}]]h                            }}}}<!--
-->{{ifnotempty|{{{Speaker|}}}          | {{infobox row |name=Speaker          | value=[[Has Speaker::{{{Speaker}}}]]                              }}}}<!--
-->{{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 }} }} }}}}<!--
-->{{ifnotempty|{{{Host|}}}            | {{infobox row |name=Host            | value={{#arraymap:{{{Host|}}}|,|x|{{U|x}} {{#set: Has host=x }} }} }}}}<!--
-->{{ifnotempty|{{{Location|}}}        | {{infobox row |name=Ort              | value={{{Location|}}} {{#set: Has location={{{Location|}}} }}      }}}}<!--
-->{{ifnotempty|{{{Location|}}}        | {{infobox row |name=Ort              | value={{{Location|}}} {{#set: Has location={{{Location|}}} }}      }}}}<!--
-->{{ifnotempty|{{{isRelevant|}}}      | {{infobox row |name=relevant?        | value=[[Is relevant::{{{isRelevant|}}}]]                          }}}}<!--
-->{{ifnotempty|{{{isArchived|}}}      | {{infobox row |name=Event archiviert?| value=[[Is archived::{{{isArchived|}}}]]                          }}}}<!--
-->{{ifnotempty|{{{isRelevant|}}}      | {{infobox row |name=Relevant?        | value=[[Is relevant::{{{isRelevant|}}}]]                          }}}}<!--





Revision as of 01:18, 15 August 2022


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