Template:Event: Difference between revisions

From Milliways
Jump to navigation Jump to search
m (revert)
m (removed the event type, as it requires conditionals which aren't mediawiki default apparently. might add back later)
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
  |  Date = YYYY-MM-DD of the event
  |  Date = YYYY-MM-DD of the event
  |  Location = Place (''optional'')
  |  Location = Place
}}</pre>
}}</pre>


Line 18: Line 17:
}}<!--
}}<!--


-->{{ifnotempty|{{{Type|}}}    |{{infobox row |name=Type      |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|{{{Location|}}}|{{infobox row |name=Location       |value={{{Location|}}} {{#set: Has location={{{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>

Revision as of 11:15, 16 June 2022


Put this template box on event pages.

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