Difference between revisions of "Template:FestivalDates"
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{{dates = {{#str:replace|{{{1|}}}|\s|}}}}} | {{{dates = {{#str:replace|{{{1|}}}|\s|}}}}} | ||
− | |||
{{#arr:loop | {{#arr:loop | ||
| i=chunk | | i=chunk | ||
| {{#arr:split|{{{dates}}}|,+}} | | {{#arr:split|{{{dates}}}|,+}} | ||
− | | each = | + | | each = {{{ |
dates = {{#arr:split|{{{chunk}}}|[-‐‑‒–—―]}} | dates = {{#arr:split|{{{chunk}}}|[-‐‑‒–—―]}} | ||
| start_date = {{#arr:get|{{{dates}}}|0}} | | start_date = {{#arr:get|{{{dates}}}|0}} |
Latest revision as of 23:06, 21 January 2020