User:Ferretwings/Sandbox/Dye/recipe

This template is to be used by dpl to retrieve the recipe from Dye row. I originally wanted to create a master recipe template for rows, but some rows are a bit more complicated than others. I will remark the orginal code, and begin anew. I still may create a recipe template for "simple" rows, but not today. |{{#if:{{{group|}}}|{{#vardefine:rgroup|{{{group}}}}}{{#vardefine:rlink|{{#switch:{{{links|n}}}|y|yes=yes|n|no=no}}}}tool={{{tool|}}}•ingredients=•{{#forargs:item|numitem|r-ing|{{#var:r-ing}}•{{#forargs:amount|numamt|amt|{{#ifexpr:{{#var:numitem}}<{{#var:numamt}}|{{#loop:i2|{{#var:numitem}}|{{#expr:{{#var:numamt}}-{{#var:numitem}}}}|1•}}|{{#ifeq:{{#var:numitem}}|{{#var:numamt}}|{{#var:amt}}•}}}}}}}}{{#switch:{{#var:group}}|Basic Dyes= {{{ {{#var:ing}} |}}}${{#var:a1|1}}{{#if:{{#var:s1}}|$ingsize={{#var:s1}}}}|{{#vardefine:i|{{#var:ing}}}}