Template:Event: Difference between revisions

From Milliways
Jump to navigation Jump to search
(basic event template)
 
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 6: Line 6:
  |  Title = full title of the given event
  |  Title = full title of the given event
  |  Description = short description
  |  Description = short description
|  Type = Lecture|Workshop|Hackathon|Meet-Up|Party|Conference|Camp|Screening|other
  |  StartDate = YYYY-MM-DD of the event
  |  StartDate = YYYY-MM-DD of the event
  |  EndDate = YYYY-MM-DD of the event
  |  EndDate = YYYY-MM-DD of the event
  |  Location = Place (''optional'')
  |  Location = Place
}}</pre>
}}</pre>


Line 15: Line 14:
{{infobox start
{{infobox start
  |headercolor=#ccffff
  |headercolor=#ccffff
  |name=[[Has title::{{{Title}}}]]
  |name={{{Title}}}
  |description={{{Description|}}}
  |description={{{Description|}}}
}}<!--
}}<!--


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


-->
-->
|}
|}
</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>
--><includeonly>[[Category:Events]]</includeonly>

Latest revision as of 11:44, 16 June 2022


Put this template box on event pages.

{{Event
 |  Title = full title of the given event
 |  Description = short description
 |  StartDate = YYYY-MM-DD of the event
 |  EndDate = YYYY-MM-DD of the event
 |  Location = Place
}}