Template:Event: Difference between revisions

From Milliways
(basic event template)
 
(Start and end date consolidated to a single Date with a Duration (to be added))
Line 7: Line 7:
  |  Description = short description
  |  Description = short description
  |  Type = Lecture|Workshop|Hackathon|Meet-Up|Party|Conference|Camp|Screening|other
  |  Type = Lecture|Workshop|Hackathon|Meet-Up|Party|Conference|Camp|Screening|other
  |  StartDate = YYYY-MM-DD of the event
  |  Date = YYYY-MM-DD of the event
|  EndDate = YYYY-MM-DD of the event
  |  Location = Place (''optional'')
  |  Location = Place (''optional'')
}}</pre>
}}</pre>
Line 20: Line 19:


-->{{ifnotempty|{{{Type|}}}    |{{infobox row |name=Type      |value=[[:Category:{{{Type}}}|{{{Type}}}]]  }}}}<!--
-->{{ifnotempty|{{{Type|}}}    |{{infobox row |name=Type      |value=[[:Category:{{{Type}}}|{{{Type}}}]]  }}}}<!--
-->{{ifnotempty|{{{StartDate|}}}    |{{infobox row |name=Start Date     |value=[[Starts at::{{{StartDate}}}]]                          }}}}<!--
-->{{ifnotempty|{{{Date|}}}    |{{infobox row |name=Datum     |value=[[Has Date::{{{Date}}}]]                          }}}}<!--
-->{{ifnotempty|{{{EndDate|}}}      |{{infobox row |name=End Date       |value=[[Ends at ::{{{EndDate}}}]]                          }}}}<!--
-->{{ifnotempty|{{{Location|}}}|{{infobox row |name=Location      |value={{{Location|}}} {{#set: Has location={{{Location|}}} }}                      }}}}<!--
-->{{ifnotempty|{{{Location|}}}|{{infobox row |name=Location      |value={{{Location|}}} {{#set: Has location={{{Location|}}} }}                      }}}}<!--



Revision as of 10:56, 16 June 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
 |  Location = Place (''optional'')
}}