×
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
(Replaced content with "{{#invoke:TestModule|range|{{#count:{{{entries}}}|$$}}}}")
Tag: Replaced
Line 1: Line 1:
{{#arraymap:0,1,2,3,4|,|entry|<!-- for each entry (separated by 2 newlines)
{{#invoke:TestModule|range|{{#count:{{{entries}}}|$$}}}}
    -->{{#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
        -->{{!}}rowspan="<!-- determining rowspan
        -->{{#ifeq:{{User:Reas/Soundtrack/GetValue|{{{entries}}}|entry|column|{{{default/column|}}}}}|{{User:Reas/Soundtrack/GetValue|{{{entries}}}|{{#expr:entry+1}}|column|{{{default/column|}}}}}|<!--
        -->{{#ifeq:{{User:Reas/Soundtrack/GetValue|{{{entries}}}|entry|column|{{{default/column|}}}}}|{{User:Reas/Soundtrack/GetValue|{{{entries}}}|{{#expr:entry+2}}|column|{{{default/column|}}}}}|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 -->

Revision as of 11:44, 11 July 2024

Script error: The function "range" does not exist.