|
|
(30 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | {{#ifexpr:{{#var:get|eventsLimit|1000}}>{{#var:get|eventsCount|0}} | + | {{#ifexpr:{{#var:get|eventsLimit|1000}} > {{#var:get|eventsCount|0}} |
− | | | + | |{{#ifexpr:{{#timel:U|{{#var:get|eventsAfter|1 jan 2000}}-1 day}} <= {{#timel:U|{{{to|{{{from|}}}}}}}} |
− | {{#ifexpr:{{#timel:U|{{#var:get|eventsAfter|1 jan 2000}}-1 day}} <= {{#timel:U|{{{to|{{{from|}}}}}}}}
| + | |{{#if:{{#switch:{{lc:{{#var:get|eventsCategory|}}}} |
− | |
| + | |{{lc: {{{category|}}}}}=TRUE |
− | {{#if:{{coallesce
| + | |{{lc:{{{category1|}}}}}=TRUE |
− | |1={{#if:{{#var:get|eventsCategory|}}||TRUE}}
| + | |{{lc:{{{category2|}}}}}=TRUE |
− | |2={{#ifeq:{{lc:{{#var:get|eventsCategory|}}}}|{{lc:{{{category|}}}}}|TRUE}}
| + | |{{lc:{{{category3|}}}}}=TRUE |
− | |3={{#ifeq:{{lc:{{#var:get|eventsCategory|}}}}|{{lc:{{{category1|}}}}}|TRUE}}
| + | |{{lc:{{{category4|}}}}}=TRUE |
− | |4={{#ifeq:{{lc:{{#var:get|eventsCategory|}}}}|{{lc:{{{category2|}}}}}|TRUE}}
| + | |{{lc:{{{category5|}}}}}=TRUE |
− | |5={{#ifeq:{{lc:{{#var:get|eventsCategory|}}}}|{{lc:{{{category3|}}}}}|TRUE}}
| + | |{{lc:{{{category6|}}}}}=TRUE |
− | |6={{#ifeq:{{lc:{{#var:get|eventsCategory|}}}}|{{lc:{{{category4|}}}}}|TRUE}}
| + | |{{lc:{{{category7|}}}}}=TRUE |
− | |7={{#ifeq:{{lc:{{#var:get|eventsCategory|}}}}|{{lc:{{{category5|}}}}}|TRUE}}
| + | |=TRUE |
− | |8={{#ifeq:{{lc:{{#var:get|eventsCategory|}}}}|{{lc:{{{category6|}}}}}|TRUE}}
| + | }}|<div class="residency"><div class="timing">{{ListEventTimingMonth |
− | |9={{#ifeq:{{lc:{{#var:get|eventsCategory|}}}}|{{lc:{{{category7|}}}}}|TRUE}}
| + | |start={{{from|}}} |
− | }}
| + | |end={{{to|}}} |
− | |
| + | }}</div><div class="artists">{{CommaListLinks |
− | <li class="event-item"><span class="event-timing">{{#if:{{{to|}}} | + | |1={{{artist|MISSING ARTIST}}} |
− | |{{#ifeq:{{#timel:Y|{{{from|}}}}}|{{#timel:Y|{{{to|}}}}}|{{#timel:F|{{{from|}}}}}|{{#timel:F Y|{{{from|}}}}}}} {{#ifeq:{{#timel:F Y|{{{from|}}}}}|{{#timel:F Y|{{{to|}}}}}|| to {{#timel:F|{{{to|}}}}}}} {{#timel:Y|{{{to|}}}}} | + | |2={{{artist2|}}} |
− | |{{#timel:F Y|{{{from|}}}}} | + | |3={{{artist3|}}} |
− | }}</span><br><span class="event-residency"> | + | |4={{{artist4|}}} |
− | [[{{{artist}}}]]{{#if:{{{artist2|}}}|{{#if:{{{artist3|}}}|, | and}} [[{{{artist2}}}]]}}{{#if:{{{artist3|}}}|{{#if:{{{artist4|}}}|, | and}} [[{{{artist3}}}]]}}{{#if:{{{artist4|}}}| and [[{{{artist4}}}]]}}{{#if:{{{article|}}}| ([[{{{article}}}]]{{#if:{{{article2|}}}|, [[{{{article2}}}]]}})}}</span>{{#if:{{{text|}}}{{{website|}}}|<br><span class="event-description">{{{text}}}
| + | }}</div> |
− | {{#if:{{{website|}}}|[{{{website}}} CV]}}
| + | <div class="articles">{{MaybeLink |
− | {{#if:{{{website 2|}}}|[{{{website 2}}} About]}} | + | |{{{article|}}}}}{{MaybeLink |
− | {{#if:{{{website 3|}}}|[{{{website 3}}} More info]}} | + | |{{{article2|}}}}}</div> |
− | {{#if:{{{website 4|}}}|[{{{website 4}}} Project]}} | + | <div class="description">{{{text|}}}</div> |
− | {{#if:{{{website 5|}}}|[{{{website 5}}} C.si]}} | + | <div class="links">{{MaybeExternal |
− | </span>}}{{#var:inc|eventsCount}} | + | |{{{website|}}}|CV}}{{MaybeExternal |
− | |
| + | |{{{website 2|}}}|About}}{{MaybeExternal |
− | }}
| + | |{{{website 3|}}}|More info}}{{MaybeExternal |
− | |
| + | |{{{website 4|}}}|Project}}{{MaybeExternal |
− | }}
| + | |{{{website 5|}}}|C.si}}</div></div>{{#var:inc|eventsCount}}|}}|}}|}} |
− | | | |
− | }} | |