Difference between revisions of "Template:Event"

From Openresearch
Jump to: navigation, search
(New page: <noinclude>This template is used for collecting data about some event. When inserted in an event's page, it creates a decorative table with much helpful information. It also takes care of ...)
 
 
(191 intermediate revisions by 6 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
 +
|  Ordinal=Ordinal of the event e.g. 1 for 1st
 +
|  Type = One of Conference, Workshop, Tutorial, PhDSymposium, summer school, demo session
 +
|  Field = the primary scientific field of the event (additional ones can be added via [[Category:Scientific Field]] in the article text
 
  |  Series=Abbreviation of event series, in case the event belongs to a continuing series
 
  |  Series=Abbreviation of event series, in case the event belongs to a continuing series
 
  |  Superevent=Larger hosting event (e.g. conference of a workshop)
 
  |  Superevent=Larger hosting event (e.g. conference of a workshop)
  |  Homepage=URL of the homepage (without http://)
+
  |  Homepage=URL of the homepage
  |  Homepage label=Optional label if homepage URL is too long
+
  |  Logo=Logo of the event
  |  Start date=November 9 2006
+
  |  Start date=November 9 2009
  |  End date=November 10 2006
+
  |  End date=November 10 2009
 
  |  City=the city the event takes place in
 
  |  City=the city the event takes place in
 
  |  State=the state (or equivalent) the event takes place in
 
  |  State=the state (or equivalent) the event takes place in
Line 22: Line 25:
 
  |  Notification=date of acceptance notifications
 
  |  Notification=date of acceptance notifications
 
  |  Camera ready=deadline for submitting the camera ready
 
  |  Camera ready=deadline for submitting the camera ready
 +
|  Attendance fee = regular fee for attending the event
 +
|  Reduced attendance fee = reduced fee for attending the event (e.g. for students)
 +
|  Attendance fee currency = one of €, $ or something from Category:Currency
 +
|  Submitted papers = number of submitted papers
 +
|  Accepted papers = number of accepted papers
 +
|  Accepted short papers = number of accepted short papers
 
}}</pre>
 
}}</pre>
 
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
 
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
  
'''A note on the various deadlines:''' In general, you only need some deadlines. The ''submission deadline'' should represent the single most important deadline for an event. If there is a paper deadline, it automatically counts as a submission deadline as well. The other kinds of deadlines are just relevant for events that accept many forms of contribution (e.g. papers and demos). If an event has just one type of submission (e.g. a developer's event might only accpept demos) then use ''submission deadline'' since it is the main deadline and it is clear what kind of submissions are meant.
+
'''A note on the various deadlines:''' In general, you only need some deadlines. The ''submission deadline'' should represent the single most important deadline for an event. If there is a paper deadline, it automatically counts as a submission deadline as well. The other kinds of deadlines are just relevant for events that accept many forms of contribution (e.g. papers and demos). If an event has just one type of submission (e.g. a developer's event might only accept demos) then use ''submission deadline'' since it is the main deadline and it is clear what kind of submissions are meant.
 
+
[[Category:Template]]
 
</noinclude>
 
</noinclude>
 
{| 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"
 
{| 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"
! colspan="2" style="background: #ef7c00; color: white" | {{PAGENAME}}
+
! colspan="2" style="background: #ADD8E6; color: black" | {{PAGENAME}}
 +
|-
 +
{{#ifeq:{{{Logo|}}}|||{{#set:|Logo={{{Logo}}}}}{{Tablelongrow|Align=Center|Value=[[Image:{{{Logo}}}|frameless|Logo of {{{Name|{{PAGENAME}}}}}]] }}}}
 +
|-
 +
{{#ifeq:{{{Title|}}}|||{{Tablelongrow|Value=[[title:={{{Title}}}]]}}}}
 
|-
 
|-
{{#ifeq:{{{Title|}}}|||{{Tablelongrow|Value=[[title:={{{Title}}}]]|Color=#fdddbb}}}}
+
{{#ifeq:{{{Ordinal|}}}|||{{Tablerow|Label=Ordinal|Value=[[ordinal:={{{Ordinal}}}]]}}}}
 +
|-
 +
{{#ifeq:{{{Series|}}}|||{{Tablerow|Label=Event in series|Value=[[Event in series::{{{Series}}}]]}}}}
 
|-
 
|-
 
{{#ifeq:{{{Superevent|}}}|||{{Tablerow|Label=Subevent of|Value=[[subevent of::{{{Superevent}}}]]}}}}
 
{{#ifeq:{{{Superevent|}}}|||{{Tablerow|Label=Subevent of|Value=[[subevent of::{{{Superevent}}}]]}}}}
 
|-
 
|-
{{#ifeq:{{{Start date|}}}|||{{Tablerow|Label=Start|Value=[[start date:={{{Start date}}}]] {{#ifeq:{{{End date|}}}|||<small>{{#ask:[[{{PAGENAME}}]]|?start date=start|?end date=end|?has location city=location|searchlabel=(iCal)|format=icalendar}}</small>}}}}}}
+
{{#ifeq:{{{Start date|}}}|||{{Tablerow|Label=Dates|Value=[[start date:={{{Start date}}}]] {{#ifeq:{{{End date|}}}|||<small>{{#ask:[[{{PAGENAME}}]]|?start date=start|?end date=end|?has location city=location|searchlabel=(iCal)|format=icalendar}}</small>}}}} - {{#ifeq:{{{End date|}}}|||[[end date:={{{End date}}}]]}} }}
 
|-
 
|-
{{#ifeq:{{{End date|}}}|||{{Tablerow|Label=End|Value=[[end date:={{{End date}}}]]}}}}
+
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage:|mandatory|Value=[[homepage:={{{Homepage}}}]]}}}}
 
|-
 
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage:|Value=[[homepage:=http://{{{Homepage}}}|{{{Homepage label|Homepage}}}]]}}}}
+
{{#ifeq:{{{Twitter account|}}}|||{{Tablerow|Label=Twitter account:|Value=[[Has twitter:={{{Twitter account}}}]]}}}}
 +
|-
 +
{{#ifeq:{{{Submitting link|}}}|||{{Tablerow|Label=Submitting link:|Value=[[Has Submitting link:={{{Submitting link}}}]]}}}}
 
|-
 
|-
 
<!-- *** Location: *** -->
 
<!-- *** Location: *** -->
{{#ifeq:{{{City|}}}{{{State|}}}{{{USA|}}}|||{{Tablesection|Label=Location|Color=#fdddbb}}}}
+
{{#ifeq:{{{City|}}}{{{State|}}}{{{Country|}}}|||{{Tablesection|Label=Location|Color=#ADD8E6|Textcolor=#fff}}}}
 
|-
 
|-
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City:|Value=[[has location city::{{{City}}}|{{{City}}}]]}}}}
+
{{Tablerow
 +
| Label=Location:
 +
| Value={{#ifeq:{{{City|}}}|||[[has location city::{{{City}}}|{{{City}}}]]}}{{#ifeq:{{{State|}}}|||, [[has location state::{{{State}}}]]}}{{#ifeq:{{{Country|}}}|||, [[has location country::Category:{{{Country}}}|{{{Country}}}]]}}
 +
}}
 
|-
 
|-
{{#ifeq:{{{State|}}}|||{{Tablerow|Label=State:|Value=[[has location state::{{{State}}}]]}}}}
+
{{#if:{{{City|}}}|{{Tablesection|Label={{#display_map:{{{City|}}}|service=leaflet|width=280|height=280}}<br />}}}}
 
|-
 
|-
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country:|Value=[[has location country::{{{Country}}}]]}}}}
+
<!-- *** Dates: *** -->
 +
{{#ifeq:{{{Abstract deadline|}}}{{{Submission deadline|}}}{{{Notification|}}}{{{Camera ready|}}}{{{Paper deadline|}}}{{{Poster deadline|}}}{{{Demo deadline|}}}|||{{Tablesection|Label=Important dates|Color= #ADD8E6|Textcolor=#fff}}}}
 
|-
 
|-
<!-- *** Dates: *** -->
+
{{#ifeq:{{{Workshop deadline|}}}|||{{Tablerow|Label=Workshops:|Value=[[workshop deadline:={{{Workshop deadline}}}]]}}}}
{{#ifeq:{{{Abstract deadline|}}}{{{Submission deadline|}}}{{{Notification|}}}{{{Camera ready|}}}{{{Paper deadline|}}}{{{Poster deadline|}}}{{{Demo deadline|}}}|||{{Tablesection|Label=Important dates|Color=#fdddbb}}}}
 
 
|-
 
|-
{{#ifeq:{{{Workshop deadline|}}}|||{{Tablerow|Label=Workshops due:|Value=[[workshop deadline:={{{Workshop deadline}}}]]}}}}
+
{{#ifeq:{{{Tutorial deadline|}}}|||{{Tablerow|Label=Tutorials:|Value=[[tutorial deadline:={{{Tutorial deadline}}}]]}}}}
 
|-
 
|-
{{#ifeq:{{{Tutorial deadline|}}}|||{{Tablerow|Label=Tutorial due:|Value=[[tutorial deadline:={{{Tutorial deadline}}}]]}}}}
+
{{#ifeq:{{{Abstract deadline|}}}|||{{Tablerow|Label=Abstracts:|Value=[[abstract deadline:={{{Abstract deadline}}}]]}}}}
 
|-
 
|-
{{#ifeq:{{{Abstract deadline|}}}|||{{Tablerow|Label=Abstracts due:|Value=[[abstract deadline:={{{Abstract deadline}}}]]}}}}
+
{{#ifeq:{{{Paper deadline|}}}|||{{Tablerow|Label=Papers:|Value=[[paper deadline:=submission deadline:={{{Paper deadline}}}]]}}}}
 
|-
 
|-
{{#ifeq:{{{Paper deadline|}}}|||{{Tablerow|Label=Papers due:|Value=[[paper deadline:=submission deadline:={{{Paper deadline}}}]]}}}}
+
{{#ifeq:{{{Poster deadline|}}}|||{{Tablerow|Label=Posters:|Value=[[poster deadline:={{{Poster deadline}}}]]}}}}
 
|-
 
|-
{{#ifeq:{{{Poster deadline|}}}|||{{Tablerow|Label=Posters due:|Value=[[poster deadline:={{{Poster deadline}}}]]}}}}
+
{{#ifeq:{{{Demo deadline|}}}|||{{Tablerow|Label=Demos:|Value=[[demo deadline:={{{Demo deadline}}}]]}}}}
 
|-
 
|-
{{#ifeq:{{{Demo deadline|}}}|||{{Tablerow|Label=Demos due:|Value=[[demo deadline:={{{Demo deadline}}}]]}}}}
+
{{#ifeq:{{{Submission deadline|}}}|||{{Tablerow|Label=Submissions:|Value=[[submission deadline:={{{Submission deadline}}}]]}}}}
 
|-
 
|-
{{#ifeq:{{{Submission deadline|}}}|||{{Tablerow|Label=Submissions due:|Value=[[submission deadline:={{{Submission deadline}}}]]}}}}
+
{{#ifeq:{{{Last Accepted Rates|}}}|||{{Tablerow|Label=Last Accepted Rates:|Value=[[Last Accepted Rates:={{{Last Accepted Rates}}}]]}}}}
 
|-
 
|-
 
{{#ifeq:{{{Notification|}}}|||{{Tablerow|Label=Notification:|Value=[[notification:={{{Notification}}}]]}}}}
 
{{#ifeq:{{{Notification|}}}|||{{Tablerow|Label=Notification:|Value=[[notification:={{{Notification}}}]]}}}}
Line 71: Line 91:
 
{{#ifeq:{{{Camera ready|}}}|||{{Tablerow|Label=Camera ready due:|Value=[[Camera ready due:={{{Camera ready}}}]]}}}}
 
{{#ifeq:{{{Camera ready|}}}|||{{Tablerow|Label=Camera ready due:|Value=[[Camera ready due:={{{Camera ready}}}]]}}}}
 
|-
 
|-
{{#ifeq:{{{Series|}}}|||{{Tablelongrow|Align=Left|Font size=80%|Value=Event in series [[Event in series::{{{Series}}}]]|Color=#fdddbb}}}}
+
{{#ifeq:{{{Superevent|}}}||{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask: [[subevent of::{{PAGENAME}}]]| intro=Subevents:_ | sep=,_}}}}|}}
 +
|-
 +
{{#ifeq:{{{Registration link|}}}|||{{Tablerow|Label=Registration link:|Value=[[Registration link:={{{Registration link}}}]]}}}}
 +
|-
 +
{{#ifeq:{{{Accepted short papers|}}}|||{{Tablerow|Label=Accepted short papers:|Value=[[Accepted short papers:={{{Accepted short papers}}}]]}}}}
 +
|-
 +
{{#ifeq:{{{Attendance fee|}}}|||{{Tablerow|Label=Attendance fee:|Value=[[Attendance fee currency::{{{Attendance fee currency}}}]] [[Attendance fee::{{{Attendance fee}}}]] / [[Attendance fee reduced:={{{Attendance fee reduced}}}]] (reduced)}}}}
 +
|-
 +
{{#ifeq:{{{Early bird student|}}}|||{{Tablerow|Label=Early bird student:|Value=[[Attendance fee currency::{{{Attendance fee currency}}}]] [[Early bird student::{{{Early bird student}}}]] / [[Early bird fee reduced:={{{Early bird fee reduced}}}]] (reduced)}}}}
 +
|-
 +
{{#ifeq:{{{On site student|}}}|||{{Tablerow|Label=On site student:|Value=[[Attendance fee currency::{{{Attendance fee currency}}}]] [[On site student::{{{On site student}}}]] / [[On site fee reduced:={{{On site fee reduced}}}]] (reduced)}}}}
 +
|-
 +
{{#ifeq:{{{Early bird regular|}}}|||{{Tablerow|Label=Early bird regular:|Value=[[Attendance fee currency::{{{Attendance fee currency}}}]] [[Early bird regular::{{{Early bird regular}}}]]}} }}
 +
|-
 +
{{#ifeq:{{{On site regular|}}}|||{{Tablerow|Label=On site regular:|Value=[[Attendance fee currency::{{{Attendance fee currency}}}]] [[On site regular::{{{On site regular}}}]]}} }}
 +
|-
 +
{{#ifeq:{{{Submitted papers|}}}|||{{Tablerow|Label=Papers:|Value=Submitted [[Submitted papers::{{{Submitted papers}}}]] / Accepted [[Accepted papers:={{{Accepted papers}}}]] ([[Acceptance rate::{{#expr:{{{Accepted papers}}}/{{{Submitted papers}}}*100 round 1}}]] %)}}}}
 +
|-
 +
<!-- *** Committees: *** -->
 +
{{#ifeq:{{{Has coordinator|}}}{{{has general chair|}}}{{{has program chair|}}}{{{has workshop chair|}}}{{{has OC member|}}}{{{has tutorial chair|}}}{{{has demo chair|}}}{{{Has PC member|}}}|||{{Tablesection|Label=Committees|Color= #ADD8E6|Textcolor=#fff}}}}
 +
|-
 +
{{#ifeq:{{#arraymap:{{{Has coordinator|}}}|,|var|[[Has coordinator::var]]}}|||{{Tablerow|Label=Organizers:|Value={{#arraymap:{{{Has coordinator|}}}|,|var|[[Has coordinator::var]]}} }} }}
 +
|-
 +
{{#ifeq:{{#arraymap:{{{has general chair|}}}|,|var|[[has general chair::var]]}}|||{{Tablerow|Label=General chairs:|Value={{#arraymap:{{{has general chair|}}}|,|var|[[has general chair::var]]}} }} }}
 +
|-
 +
{{#ifeq:{{#arraymap:{{{has program chair|}}}|,|var|[[has program chair::var]]}}|||{{Tablerow|Label=PC chairs:|Value={{#arraymap:{{{has program chair|}}}|,|var|[[has program chair::var]]}} }} }}
 +
|-
 +
{{#ifeq:{{#arraymap:{{{has workshop chair|}}}|,|var|[[has workshop chair::var]]}}|||{{Tablerow|Label=Workshop chairs:|Value={{#arraymap:{{{has workshop chair|}}}|,|var|[[has workshop chair::var]]}} }} }}
 +
|-
 +
{{#ifeq:{{#arraymap:{{{has OC member|}}}|,|var|[[has OC member::var]]}}|||{{Tablerow|Label=Panel Chair:|Value={{#arraymap:{{{has OC member|}}}|,|var|[[has OC member::var]]}} }} }}
 +
|-
 +
{{#ifeq:{{#arraymap:{{{has tutorial chair|}}}|,|var|[[has tutorial chair::var]]}}|||{{Tablerow|Label=Seminars Chair:|Value={{#arraymap:{{{has tutorial chair|}}}|,|var|[[has tutorial chair::var]]}} }} }}
 +
|-
 +
{{#ifeq:{{#arraymap:{{{has demo chair|}}}|,|var|[[has demo chair::var]]}}|||{{Tablerow|Label=Demo chairs:|Value={{#arraymap:{{{has demo chair|}}}|,|var|[[has demo chair::var]]}} }} }}
 +
|-
 +
{{#ifeq:{{#arraymap:{{{Has PC member|}}}|,|var|[[Has PC member::var]]}}|||{{Tablerow|Label=PC members:|Value={{#arraymap:{{{Has PC member|}}}|,|var|[[Has PC member::var]]}} }} }}
 +
|-
 +
{{#ifeq:{{#arraymap:{{{has Keynote speaker|}}}|,|var|[[has Keynote speaker::var]]}}|||{{Tablerow|Label=Keynote speaker:|Value={{#arraymap:{{{has Keynote speaker|}}}|,|var|[[has Keynote speaker::var]]}} }} }}
 +
|-
 +
{{Tablesection|Label=Table of Contents|Color=#ADD8E6|Textcolor=#fff}}
 +
|-
 +
| colspan="2" style="padding-top: 2px; " |<div id="smworgtable-toc" style="font-size: 90%;">__TOC__</div>
 +
|-
 +
<!--  *** Twitter ***  -->
 +
{{#if:{{{Twitter account|}}}|{{Tablesection|Label=Tweets by {{{Twitter account}}}|Color=#ADD8E6|Textcolor=#fff}}|}}
 
|-
 
|-
{{#ifeq:{{{Superevent|}}}||{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask: [[subevent of::{{PAGENAME}}]]| intro=Subevents:_ | sep=,_}}|Color=#fdddbb}}|}}
+
| colspan="2" style="padding-top: 2px; " | {{#if:{{{Twitter account|}}}|<div><html><a class="twitter-timeline" height="400" width="350" href="https://twitter.com/</html>{{{Twitter account}}}<html>">Tweets by {{{Twitter account}}}</a> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script></html></div>|}}
|}<!--
+
|}
--><includeonly>{{#ifeq:{{{Superevent|}}}||[[Category:Stand-alone event]]|}}</includeonly>
+
<!--
 +
--><includeonly>
 +
[[Acronym::{{{Acronym|}}}|]]{{#set:
 +
isA={{{isA|Event}}}
 +
|Event type={{{Type|}}}
 +
}}
 +
[[Has coordinates::{{#geocode:{{{Street address|}}}, {{{City|}}}, {{{State|}}}, {{{Country|}}}|geonames}}|]]
 +
{{#ifeq:{{#arraymap:{{{Field|}}}|, |var|[[Category:var]]|&#32;}}|||{{#arraymap:{{{Field|}}}|, |var|[[Category:var]]|&#32;}}}}
 +
{{#arraymap:{{#show: {{PAGENAME}}| ?Event in series.Field|link=none}}|, |var|[[var]]}}
 +
{{#ifeq:{{{Country|}}}|||[[Category:{{{Country|}}}]]}}
 +
{{#ifeq:{{{Superevent|}}}||[[Category:Stand-alone event]]|}}
 +
{{#default_form:Event}}
 +
</includeonly>

Latest revision as of 17:40, 12 April 2021

This template is used for collecting data about some event. When inserted in an event's page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.

To use this template, insert the following at the beginning of your user page. All fields are strictly optional and should be omitted if no data is given.

{{Event
 |  Title=Full title of the given event
 |  Ordinal=Ordinal of the event e.g. 1 for 1st
 |  Type = One of Conference, Workshop, Tutorial, PhDSymposium, summer school, demo session
 |  Field = the primary scientific field of the event (additional ones can be added via [[Category:Scientific Field]] in the article text
 |  Series=Abbreviation of event series, in case the event belongs to a continuing series
 |  Superevent=Larger hosting event (e.g. conference of a workshop)
 |  Homepage=URL of the homepage
 |  Logo=Logo of the event
 |  Start date=November 9 2009
 |  End date=November 10 2009
 |  City=the city the event takes place in
 |  State=the state (or equivalent) the event takes place in
 |  Country=the country the event takes place in
 |  Abstract deadline=deadline for abstract submissions (usually for papers that are to be submitted later)
 |  Paper deadline=deadline for submitting papers, a special kind of submission deadline; read the docu below
 |  Submission deadline=general deadline for (most relevant kinds of) submissions; read the docu below
 |  Poster deadline=deadline for submitting posters; read the docu below
 |  Demo deadline=deadline for submitting demo papers; read the docu below
 |  Workshop deadline=deadline for submitting workshops proposals
 |  Tutorial deadline=deadline for submitting tutorial proposals
 |  Notification=date of acceptance notifications
 |  Camera ready=deadline for submitting the camera ready
 |  Attendance fee = regular fee for attending the event
 |  Reduced attendance fee = reduced fee for attending the event (e.g. for students)
 |  Attendance fee currency = one of €, $ or something from Category:Currency
 |  Submitted papers = number of submitted papers
 |  Accepted papers = number of accepted papers
 |  Accepted short papers = number of accepted short papers
}}

The order of the fields is not relevant. The template should be given as the first thing on a page.

A note on the various deadlines: In general, you only need some deadlines. The submission deadline should represent the single most important deadline for an event. If there is a paper deadline, it automatically counts as a submission deadline as well. The other kinds of deadlines are just relevant for events that accept many forms of contribution (e.g. papers and demos). If an event has just one type of submission (e.g. a developer's event might only accept demos) then use submission deadline since it is the main deadline and it is clear what kind of submissions are meant.

Event
Location:
Table of Contents