Template:Event table/row: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly><!--
| '''[[{{{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>] }} }}
--><tr>
 
<td>'''{{#ifeq:{{PAGENAME}}|Events
|-
| [[{{{parent}}}|{{{name}}}]]
</includeonly><noinclude>
| {{#if:{{{website|}}}
{{#ask:
  | [{{{website}}} {{{name}}}]
[[Category:Events]]
  | {{{name}}}
[[Has start date::>{{#time:Y-m-d}}]]
  }}
|?=event
}}'''</td>
|?In city=city
<td>{{Date formatter|{{{start_date}}}|{{{end_date}}}}}</td>
|?In country=country
<td>{{{event_type}}}</td>
|?In region=region
<td>{{{city}}} {{#if:{{{country|}}}|{{flag emoji|{{{country|plain}}}}}}}</td>
|?has event type=event_type
<td>{{{region}}}</td>
|?Has start date=start_date
<td>{{#if:{{{application_link|}}}
|?Has end date=end_date
| {{#ifexpr:{{#time:U|{{{application_deadline|}}}}} > {{#time:U}}
|?Has application deadline=application_deadline
  | [{{{application_link}}} <span class="button blue outline">Apply</span>]
|?Has application link=application_link
  | <span class="button disabled outline">Closed</span>
|format=plainlist
  }}
|introtemplate=EventTableHeader
}}</td>
|template=EventTableRow
</tr><!--
|outrotemplate=EventTableFooter
--></includeonly>
|headers=show
|mainlabel=Event
|sort=Has start date
|order=ascending
|named args=yes
|link=none
|limit=50
}}</noinclude>

Latest revision as of 09:24, 8 September 2025