Template:Event table/row: Difference between revisions

From stencil.wiki
(Created page with "<includeonly> | {{{city}}} || style="text-align: right" | {{{population}}} || style="text-align: right" | {{{area}}} |- </includeonly> <noinclude> {{#ask: Category:Events [[Has start date::>{{#time:Y-m-d}}]] |?In city = City |?Has start date=Start date |?Has end date = End date |format=plainlist |introtemplate=EventTableHeader |template=EventTableRow |outrotemplate=EventTableFooter |headers=show |mainlabel=Event |sort=Has start date |order=ascending...")
 
m (Robertbaxter moved page Template:EventTableRow to Template:Event table/row without leaving a redirect: Template naming convention.)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
| {{{city}}} || style="text-align: right" | {{{population}}} || style="text-align: right" | {{{area}}}
| '''[[{{{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>


<noinclude>
|-
</includeonly><noinclude>
{{#ask:
{{#ask:
  [[Category:Events]]
  [[Category:Events]]
  [[Has start date::>{{#time:Y-m-d}}]]
  [[Has start date::>{{#time:Y-m-d}}]]
  |?In city = City
|?Has parent event=event
  |?Has start date=Start date
  |?In city=city
  |?Has end date = End date
|?In country=country
|?In region=region
|?has event type=event_type
  |?Has start date=start_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 19: Line 24:
  |sort=Has start date
  |sort=Has start date
  |order=ascending
  |order=ascending
|named args=yes
|link=none
  |limit=50
  |limit=50
}}</noinclude>
}}</noinclude>

Latest revision as of 22:49, 20 January 2025