Template:Event table/row: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><!--
| '''{{#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> }} }}
--><tr>
 
<td>'''{{#ifeq:{{PAGENAME}}|Events
|-
| [[{{{parent}}}|{{{name}}}]]
</includeonly>
| {{#if:{{{website|}}}
  | [{{{website}}} {{{name}}}]
  | {{{name}}}
  }}
}}'''</td>
<td>{{Date formatter|{{{start_date}}}|{{{end_date}}}}}</td>
<td>{{{event_type}}}</td>
<td>{{{city}}} {{#if:{{{country|}}}|{{flag emoji|{{{country|plain}}}}}}}</td>
<td>{{{region}}}</td>
<td>{{#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>
  }}
}}</td>
</tr><!--
--></includeonly>

Latest revision as of 09:24, 8 September 2025