Difference between revisions of "Template:DurationWeeks"

From Culture.si
 
Line 4: Line 4:
 
   | k=v
 
   | k=v
 
   | {{#arr:split|{{{1|}}}|[\s,]+}}
 
   | {{#arr:split|{{{1|}}}|[\s,]+}}
   | each = <li>[[Festival week::{{#expr:{{{2|0}}}*100 + {{{v|0}}}}}]]{{#eval:parse|{{#set:Festival weeks={{#expr:{{{2|0}}}*100 + {{{v|0}}}}}}}}}
+
   | each = {{#set:Festival weeks={{#expr:{{{2|0}}}*100 + {{{v|0}}}}}}}
 
   }}
 
   }}
 
}}
 
}}

Latest revision as of 22:37, 9 January 2013

{{#arr:dataloop | {{#arr:match||([\d\s,]+)\s*\(\s*(\d+)\s*\)}} | each = }}