Template:Query resource table

| | {{#if: {{{2|}}} | {{#arraymap:{{{2|}}}|;|y|{{#vardefine:pagename|{{#sub:y|{{#pos:y| }}}}}}{{#vardefine:quan|{{#explode:y| |0}}}}{{#ifeq:{{#show: {{#var:pagename}}|?has icon}}||| ?has icon|link=none}}|20px|link={{#var:pagename}}|alt={{#var:pagename}}}} {{ (0-{{#var:quan}}){{#set:Drops={{#var:pagename}}}}|,  }} |-