|
|
(5 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| {{#tag:pre| | | {| style="width: 100%;" cellspacing="0" cellpadding="4" border="1" |
| | | {{#arraymap:{{{1}}}|;|column|{{!}} style="text-align: center; {{#explode:column|,|2}}" {{!}}<u>'''{{#explode:column|,|1}}'''</u>|\n}} |
| {{#arraymap:{{#invoke:TestModule|range|{{#count:{{{entries}}}|$$}}}}|,|entry|<!-- for each entry (separated by 2 $$s)
| | |- |
| -->{{#arraymap:{{{columns}}}|,|column|<!-- for each column
| | {{#invoke:TestModule|table |
| -->{{#ifeq:{{User:Reas/Soundtrack/GetValue|{{{entries}}}|entry|column|{{{default/column|}}}}}|{{User:Reas/Soundtrack/GetValue|{{{entries}}}|{{#expr:entry-1}}|column|{{{default/column|}}}}}||<!-- if previous cell is the same, output nothing
| | |columns={{#arraymap:{{{1}}}|;|column|{{#explode:column|,}}|,}} |
| -->{{!}}rowspan="<!-- determining rowspan
| | |default/speed=100 |
| -->{{#ifeq:{{User:Reas/Soundtrack/GetValue|{{{entries}}}|entry|column|{{{default/column|}}}}}|{{User:Reas/Soundtrack/GetValue|{{{entries}}}|{{#expr:entry+1}}|column|{{{default/column|}}}}}|<!--
| | |display/speed=value% |
| -->{{#ifeq:{{User:Reas/Soundtrack/GetValue|{{{entries}}}|entry|column|{{{default/column|}}}}}|{{User:Reas/Soundtrack/GetValue|{{{entries}}}|{{#expr:entry+2}}|column|{{{default/column|}}}}}|<!--
| | |unique/speed=name,speed |
| -->{{#ifeq:{{User:Reas/Soundtrack/GetValue|{{{entries}}}|entry|column|{{{default/column|}}}}}|{{User:Reas/Soundtrack/GetValue|{{{entries}}}|{{#expr:entry+3}}|column|{{{default/column|}}}}}|<!--
| | |unique/file=name,file |
| -->{{#ifeq:{{User:Reas/Soundtrack/GetValue|{{{entries}}}|entry|column|{{{default/column|}}}}}|{{User:Reas/Soundtrack/GetValue|{{{entries}}}|{{#expr:entry+4}}|column|{{{default/column|}}}}}|<!--
| | |unique/notes=name,notes |
| -->{{#ifeq:{{User:Reas/Soundtrack/GetValue|{{{entries}}}|entry|column|{{{default/column|}}}}}|{{User:Reas/Soundtrack/GetValue|{{{entries}}}|{{#expr:entry+5}}|column|{{{default/column|}}}}}|<!--
| | |display/file=[[:File:value|Listen]] |
| insert more if needed here
| | |entries={{{2}}} |
| -->6|5}}<!--
| |
| -->|4}}<!--
| |
| -->|3}}<!--
| |
| -->|2}}<!--
| |
| -->|1}}<!--
| |
| -->"{{!}}<!-- value of cell itself
| |
| -->{{#replace:{{{display/column|value}}}|value|{{User:Reas/Soundtrack/GetValue|{{{entries}}}|entry|column|{{{default/column|}}}}}}}<!--
| |
| -->}}<!-- end of cell
| |
| -->|\n}} <!-- end for each column
| |
| -->|\n{{!}}-\n}} <!--end for each entry -->
| |
| }} | | }} |
| | |} |