Difference between revisions of "Template:FestivalDates"
Line 1: | Line 1: | ||
FIXMEEEEE | FIXMEEEEE | ||
+ | {{{dates = {{#str:replace|{{{1|23.3.2015, 24.3.2014 - 27.3. 2014}}}|\s|}}}}} | ||
+ | |||
+ | {{#arr:loop | ||
+ | | i=year | ||
+ | | {{#arr:split|{{{dates}}}|,+}} | ||
+ | | each = | ||
+ | YEAR: {{{year}}} | ||
+ | {{{ | ||
+ | dates = {{#arr:split|{{{year}}}|[-–]}} | ||
+ | | start_date = {{#arr:get|{{{dates}}}|0}} | ||
+ | | end_date = {{#arr:get|{{{dates}}}|1|{{{start_date}}}}} | ||
+ | | start_week = {{#timel:W|{{{start_date}}}}} | ||
+ | | end_week = {{#timel:W|{{{end_date}}}}} | ||
+ | }}} | ||
+ | |||
+ | {{#arr:list|{{{dates}}}}} | ||
+ | |||
+ | {{{start_week}}} {{{end_week}}} | ||
+ | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} |
Revision as of 18:57, 3 June 2015
FIXMEEEEE
YEAR: 23.3.2015
- = 57f5b70c70200f9b1bfe601d7e598c9d
13 13 YEAR: 24.3.2014-27.3.2014
- = 9aea012834d0dc71a0ea2193c77e036a
13 13