Difference between revisions of "Sequence"
From Sega Retro
(no, that's not it) |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:i|0}}{{#while: | + | <includeonly>{{#vardefine:i|0}}{{#vardefine:{{{1|}}}|test}}{{#vardefine:blockstatement|{{{4|}}}}}{{#while: |
| {{#ifexpr: {{#len:{{#explode:{{{3}}}|{{{2}}}|{{#var:i}}}}}} > 0 | true }} | | {{#ifexpr: {{#len:{{#explode:{{{3}}}|{{{2}}}|{{#var:i}}}}}} > 0 | true }} | ||
− | | {{#vardefine:{{{1|}}}|{{#explode:{{{3}}}|{{{2}}}|{{#var:i}}} | + | | {{#vardefine:{{{1|}}}|{{#explode:{{{3}}}|{{{2}}}|{{#var:i}}}}}}{{#var:blockstatement}}{{incvar|i}} |
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
==Usage== | ==Usage== |
Revision as of 16:05, 6 February 2018
Usage
{{sequence|variablename|delimiter|array| block statement }}
Example
{{sequence|region|,|jp,us,eu| * md_date_{{#var:region}} }}
returns
- md_date_test
- md_date_test
- md_date_test