Template:Event table/row: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
 
(15 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}}} || {{#ifexpr: {{#time:U|{{{application_deadline}}}}} > {{#time:U}} | [{{{application_link}}} <span class="button blue outline">Apply</span>]|}}
--><tr>
|-
<td>'''{{#ifeq:{{PAGENAME}}|Events
</includeonly>
| [[{{{parent}}}|{{{name}}}]]
 
| {{#if:{{{website|}}}
<noinclude>
  | [{{{website}}} {{{name}}}]
{{#ask:
  | {{{name}}}
[[Category:Events]]
  }}
[[Has start date::>{{#time:Y-m-d}}]]
}}'''</td>
|?=event
<td>{{Date formatter|{{{start_date}}}|{{{end_date}}}}}</td>
|?In city=city
<td>{{{event_type}}}</td>
|?In country=country
<td>{{{city}}} {{#if:{{{country|}}}|{{flag emoji|{{{country|plain}}}}}}}</td>
|?In region=region
<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 event type=event_type
  | [{{{application_link}}} <span class="button blue outline">Apply</span>]
|?Has application deadline=application_deadline
  | <span class="button disabled outline">Closed</span>
|?Has application link=application_link
  }}
|format=plainlist
}}</td>
|introtemplate=EventTableHeader
</tr><!--
|template=EventTableRow
--></includeonly>
|outrotemplate=EventTableFooter
|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