Difference between revisions of "Template:DurationWeeks"
(Created page with "{{#arr:dataloop | {{#arr:match|{{{weeks}}}|([\d\s,]+)\s*\(\s*(\d+)\s*\)}} | each = {{#arr:loop | k=v | {{#arr:split|{{{1}}}|[\s,]+}} | each = <li>{{#expr:{{{2}}}*100 + {...") |
|||
Line 1: | Line 1: | ||
{{#arr:dataloop | {{#arr:dataloop | ||
− | | {{#arr:match|{{{weeks}}}|([\d\s,]+)\s*\(\s*(\d+)\s*\)}} | + | | {{#arr:match|{{{weeks|}}}|([\d\s,]+)\s*\(\s*(\d+)\s*\)}} |
| each = {{#arr:loop | | each = {{#arr:loop | ||
| k=v | | k=v | ||
− | | {{#arr:split|{{{1}}}|[\s,]+}} | + | | {{#arr:split|{{{1|}}}|[\s,]+}} |
− | | each = <li>{{#expr:{{{2}}}*100 + {{{v}}}}}{{#set:Festival weeks={{#expr:{{{2}}}*100 + {{{v}}}}}}} | + | | each = <li>{{#expr:{{{2|0}}}*100 + {{{v|0}}}}}{{#set:Festival weeks={{#expr:{{{2|0}}}*100 + {{{v|0}}}}}}} |
}} | }} | ||
}} | }} |
Revision as of 22:28, 9 January 2013
{{#arr:dataloop | {{#arr:match||([\d\s,]+)\s*\(\s*(\d+)\s*\)}}
| each =