extended make_query for up to 6 entry parameters