Difference between revisions of "Template:Technology/parsing/entry/sandbox"

From Official Factorio Wiki
Jump to: navigation, search
Line 5: Line 5:
 
|{{#explode: {{#explode: {{{1}}}|+|{{{2}}}}}|,|0}}
 
|{{#explode: {{#explode: {{{1}}}|+|{{{2}}}}}|,|0}}
  
|{{#ifeq: {{#sub: {{#explode: {{#explode: {{{1}}}|+|{{{2}}}}}|,|0}} | -2 | 1 }} | | {{#sub: {{#explode: {{#explode: {{{1}}}|+|{{{2}}}}}|,|0}} | -1 | 1 }} }}
+
|{{#ifeq: {{#explode: {{#explode: {{{1}}}|+|{{{2}}}}}|,|1}}||{{#ifeq: {{#sub: {{#explode: {{#explode: {{{1}}}|+|{{{2}}}}}|,|0}} | -2 | 1 }} | | {{#sub: {{#explode: {{#explode: {{{1}}}|+|{{{2}}}}}|,|0}} | -1 | 1 }} }}|{{#explode: {{#explode: {{{1}}}|+|{{{2}}}}}|,|1}}}}
  
 
|color={{{3}}}}}
 
|color={{{3}}}}}

Revision as of 22:06, 18 October 2014