×
Create a new article
Write your page title here:
We currently have 3,035 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,035Articles

User:Reas/Sandbox/SoundtrackTable: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
{{#arraymap:0,1,2,3,4|,|entry|<!-- for each entry (separated by 2 newlines)<!--
{{#arraymap:0,1,2,3,4|,|entry|<!-- for each entry (separated by 2 newlines)<!--
     -->{{#ifeq:entry|0|<!-- special case for the first row (cuz everything breaks otherwise)
     -->{{#ifeq:entry|0||{{#arraymap:{{{columns}}}|,|column|<!-- for each column
        -->{{!}}rowspan="<!-- determining rowspan
        -->{{#ifeq:{{User:Reas/Soundtrack/GetValue|{{{entries}}}|entry|column|{{{default/column|}}}}}|{{User:Reas/Soundtrack/GetValue|{{{entries}}}|{{#expr:entry+1}}|column|{{{default/column|}}}}}|2|1}}<!--
        -->"{{!}}{{User:Reas/Soundtrack/GetValue|{{{entries}}}|entry|column|{{{default/column|}}}}}<!-- end of cell
    -->|{{#arraymap:{{{columns}}}|,|column|<!-- for each column
         -->{{#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
         -->{{#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
         -->{{!}}rowspan="<!-- determining rowspan
         -->{{!}}rowspan="<!-- determining rowspan

Revision as of 11:17, 11 July 2024