User:SpeedHighway/sandbox/Template:Crafting infobox section





{{#if: {{{prerequisite1|}}} | {{!}} colspan="1" class="infoboxlabel" style="width:30px;" {{!}} Prerequisites {{{!}}} {{@if:{{{prerequisite1|}}}|{{ItemLink|{{{prerequisite1|}}}}}{{#if:{{{prerequisite2|}}} {{ItemLink|{{{prerequisite2|}}}}}}}{{#if:{{{prerequisite3|}}}| {{ItemLink|{{{prerequisite3|}}}}}}}}}

{{#ifexist: | Category:Crafted with {{#var:fullname}} | {{#vardefine:craftedwithpages|{{PAGESINCATEGORY:Crafted with {{#var:fullname}}|pages}}}} {{{!}}} Used to craft|}} = 1 | {{#var:craftedwithpages|}} item | {{#var:craftedwithpages|}} items}}|{{#var:craftedwithpages|}} }}