Template:Event table/row: Difference between revisions

From stencil.wiki
No edit summary
m (Robertbaxter moved page Template:EventTableRow to Template:Event table/row without leaving a redirect: Template naming convention.)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
| {{{event}}} || {{Date formatter|{{{start_date}}}|{{{end_date}}}}} || {{{city}}} {{#if:{{{country|}}}|{{flag emoji|{{{country|plain}}}}}}}
| '''[[{{{event}}}]]''' || {{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>
</includeonly><noinclude>
 
<noinclude>
{{#ask:
{{#ask:
  [[Category:Events]]
  [[Category:Events]]
  [[Has start date::>{{#time:Y-m-d}}]]
  [[Has start date::>{{#time:Y-m-d}}]]
  |?=event
  |?Has parent event=event
  |?In city=city
  |?In city=city
  |?In country=country
  |?In country=country
|?In region=region
|?has event type=event_type
  |?Has start date=start_date
  |?Has start date=start_date
  |?Has end date=end_date
  |?Has end date=end_date
|?Has application deadline=application_deadline
|?Has application URL=application_link
  |format=plainlist
  |format=plainlist
  |introtemplate=EventTableHeader
  |introtemplate=EventTableHeader
Line 22: Line 25:
  |order=ascending
  |order=ascending
  |named args=yes
  |named args=yes
|link=none
  |limit=50
  |limit=50
}}</noinclude>
}}</noinclude>

Latest revision as of 22:49, 20 January 2025