|  |  | 
| Line 1: | Line 1: | 
|  | <includeonly> |  | <includeonly> | 
|  | | '''[[{{{event|{{{name|}}}}}}]]''' || {{Date formatter|{{{start_date}}}|{{{end_date}}}}} || {{{event_type}}} || {{{city}}} {{#if:{{{country|}}}|{{flag emoji|{{{country|plain}}}}}}} || {{{region}}} || {{#if: {{{application_link|}}} | {{#if: {{{application_link|}}} | {{#ifexpr: {{#time:U|{{{application_deadline|}}}}} > {{#time:U}} | [{{{application_link}}} <span class="button blue outline">Apply</span>] | <span class="button disabled outline">Closed</span> }} }} |  | | '''{{#if:{{{website|}}}|[website {{{name|}}}]|{{{event|{{{name|}}}}}}}}''' || {{Date formatter|{{{start_date}}}|{{{end_date}}}}} || {{{event_type}}} || {{{city}}} {{#if:{{{country|}}}|{{flag emoji|{{{country|plain}}}}}}} || {{{region}}} || {{#if: {{{application_link|}}} | {{#if: {{{application_link|}}} | {{#ifexpr: {{#time:U|{{{application_deadline|}}}}} > {{#time:U}} | [{{{application_link}}} <span class="button blue outline">Apply</span>] | <span class="button disabled outline">Closed</span> }} }} | 
|  | 
 |  | 
 | 
|  | |- |  | |- | 
|  | </includeonly><noinclude> |  | </includeonly> | 
|  | {{#ask:
 |  | 
|  |  [[Category:Events]]
 |  | 
|  |  [[Has start date::>{{#time:Y-m-d}}]]
 |  | 
|  |  |?Has parent event=event
 |  | 
|  |  |?In city=city
 |  | 
|  |  |?In country=country
 |  | 
|  |  |?In region=region
 |  | 
|  |  |?has event type=event_type
 |  | 
|  |  |?Has start date=start_date
 |  | 
|  |  |?Has end date=end_date
 |  | 
|  |  |?Has application deadline=application_deadline
 |  | 
|  |  |?Has application URL=application_link
 |  | 
|  |  |format=plainlist
 |  | 
|  |  |introtemplate=EventTableHeader
 |  | 
|  |  |template=EventTableRow
 |  | 
|  |  |outrotemplate=EventTableFooter
 |  | 
|  |  |headers=show
 |  | 
|  |  |mainlabel=Event
 |  | 
|  |  |sort=Has start date
 |  | 
|  |  |order=ascending
 |  | 
|  |  |named args=yes
 |  | 
|  |  |link=none
 |  | 
|  |  |limit=50
 |  | 
|  | }}</noinclude>
 |  |