Difference between revisions of "Template:Residency"
(Created page with ' {{#ifexpr:{{#var:get|eventsLimit|1000}}>{{#var:get|eventsCount|0}} | {{#ifexpr:{{#timel:U|{{#var:get|eventsAfter|1 jan 2000}}-1 day}} <= {{#timel:U|{{{to|{{{from|}}}}}}}} |...') |
|||
(58 intermediate revisions by 3 users 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|}}}}}}}} |
− | | | + | |{{#if:{{#switch:{{lc:{{#var:get|eventsCategory|}}}} |
− | + | |{{lc: {{{category|}}}}}=TRUE | |
− | + | |{{lc:{{{category1|}}}}}=TRUE | |
− | + | |{{lc:{{{category2|}}}}}=TRUE | |
− | + | |{{lc:{{{category3|}}}}}=TRUE | |
− | + | |{{lc:{{{category4|}}}}}=TRUE | |
− | + | |{{lc:{{{category5|}}}}}=TRUE | |
− | + | |{{lc:{{{category6|}}}}}=TRUE | |
− | + | |{{lc:{{{category7|}}}}}=TRUE | |
− | + | |=TRUE | |
− | + | }}|<div class="residency"><div class="timing">{{ListEventTimingMonth | |
− | + | |start={{{from|}}} | |
− | + | |end={{{to|}}} | |
− | + | }}</div><div class="artists">{{CommaListLinks | |
− | + | |1={{{artist|MISSING ARTIST}}} | |
− | < | + | |2={{{artist2|}}} |
− | |{{ | + | |3={{{artist3|}}} |
− | + | |4={{{artist4|}}} | |
− | }}</ | + | }}</div> |
− | {{{ | + | <div class="articles">{{MaybeLink |
− | + | |{{{article|}}}}}{{MaybeLink | |
− | + | |{{{article2|}}}}}</div> | |
− | + | <div class="description">{{{text|}}}</div> | |
− | + | <div class="links">{{MaybeExternal | |
− | + | |{{{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}}|}}|}}|}} |