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

Latest revision as of 18:33, 11 July 2024

'