Template:Mining calculator