Template:Event table/row: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
 
(19 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}}}}}}}
--><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>
|?Has start date=start_date
<td>{{{region}}}</td>
|?Has end date=end_date
<td>{{#if:{{{application_link|}}}
|format=plainlist
| {{#ifexpr:{{#time:U|{{{application_deadline|}}}}} > {{#time:U}}
|introtemplate=EventTableHeader
  | [{{{application_link}}} <span class="button blue outline">Apply</span>]
|template=EventTableRow
  | <span class="button disabled outline">Closed</span>
|outrotemplate=EventTableFooter
  }}
|headers=show
}}</td>
|mainlabel=Event
</tr><!--
|sort=Has start date
--></includeonly>
|order=ascending
|named args=yes
|limit=50
}}</noinclude>

Latest revision as of 09:24, 8 September 2025