×
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)<!--
     -->{{#arraymap:{{{columns}}}|,|column|<!-- for each column
    -->{{#ifeq:entry|0|<!-- special case for the first row (cuz everything breaks otherwise)
        -->{{!}}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
         -->{{#ifeq:{{User:Reas/Soundtrack/GetValue|{{{entries}}}|entry|column|{{{default/column|}}}}}|{{User:Reas/Soundtrack/GetValue|{{{entries}}}|{{#expr:entry+1}}|column|{{{default/column|}}}}}|2|1}}<!--
         -->{{#ifeq:{{User:Reas/Soundtrack/GetValue|{{{entries}}}|entry|column|{{{default/column|}}}}}|{{User:Reas/Soundtrack/GetValue|{{{entries}}}|{{#expr:entry+1}}|column|{{{default/column|}}}}}|2|1}}<!--
         -->"{{!}}{{{default/column|}}}<!--{{User:Reas/Soundtrack/GetValue|{{{entries}}}|entry|column|{{{default/column|}}}}}-->}}<!-- end of cell
         -->"{{!}}{{User:Reas/Soundtrack/GetValue|{{{entries}}}|entry|column|{{{default/column|}}}}}}}<!-- end of cell
     -->|\n}} <!-- end for each column
     -->|\n}}}} <!-- end for each column
-->|\n{{!}}-\n}} <!--end for each entry -->
-->|\n{{!}}-\n}} <!--end for each entry -->

Revision as of 11:14, 11 July 2024

|rowspan="2"| |\n|-\n}}