Board Thread:Support Requests - Getting Technical/@comment-45606548-20200622132701/@comment-23989026-20200623112456

Listing all the parser on separate lines we have this

 | }}  and   | }}  is repeated so remove and use separately

Split into elem1 and elem2 we have {{#ifeq: {{{elem1}}} | Nature | {{#ifeq: {{{elem2}}} | Water | | }} {{#ifeq: {{{elem1}}} | Fire | {{#ifeq: {{{elem2}}} | Electric | | }} {{#ifeq: {{{elem1}}} | Water | {{#ifeq: {{{elem2}}} | Earth | | }} {{#ifeq: {{{elem1}}} | Electric | {{#ifeq: {{{elem2}}} | Metal | | }} {{#ifeq: {{{elem1}}} | Earth | {{#ifeq: {{{elem2}}} | Nature | | }} {{#ifeq: {{{elem1}}} | Metal | {{#ifeq: {{{elem2}}} | Fire | | }}

{{#ifeq: {{{elem2}}} | Nature | {{#ifeq: {{{elem1}}} | Water | | }} {{#ifeq: {{{elem2}}} | Fire | {{#ifeq: {{{elem1}}} | Electric | | }} {{#ifeq: {{{elem2}}} | Water | {{#ifeq: {{{elem1}}} | Earth | | }} {{#ifeq: {{{elem2}}} | Electric | {{#ifeq: {{{elem1}}} | Metal | | }} {{#ifeq: {{{elem2}}} | Earth | {{#ifeq: {{{elem1}}} | Nature | | }} {{#ifeq: {{{elem2}}} | Metal | {{#ifeq: {{{elem1}}} | Fire | | }}

So your original idea of switch {{#switch: {{{elem1|}}} }}
 * Nature  = {{#ifeq: {{{elem2}}} | Water | |  Fire.png}}
 * Fire    = {{#ifeq: {{{elem2}}} | Electric | | Water.png}}
 * Water   = {{#ifeq: {{{elem2}}} | Earth | | Electric.png}}
 * Electric = {{#ifeq: {{{elem2}}} | Metal | | Earth.png}}
 * Earth   = {{#ifeq: {{{elem2}}} | Nature | | Metal.png}}
 * Metal   = {{#ifeq: {{{elem2}}} | Fire | | Nature.png}}

{{#switch: {{{elem2|}}} }}
 * Nature  = {{#ifeq: {{{elem1}}} | Water | |  Fire.png}}
 * Fire    = {{#ifeq: {{{elem1}}} | Electric | | Water.png}}
 * Water   = {{#ifeq: {{{elem1}}} | Earth | | Electric.png}}
 * Electric = {{#ifeq: {{{elem1}}} | Metal | | Earth.png}}
 * Earth   = {{#ifeq: {{{elem1}}} | Nature | | Metal.png}}
 * Metal   = {{#ifeq: {{{elem1}}} | Fire | | Nature.png}}