Home Team and Away Team?

I have football news website and I need your help guys.

I want create small functionality n post editor page (wordpress). This functionality will select two teams home team and away team also to show goalscorers and score. Already create metabox and text inputs for goalscorers and score my problem is how to select teams, I have teams table in my database with team names and badges(img). I want to create autocomplete input or something to select home team and away team with badges and show inside posts.

Can you please check goal.com match header to understand what I want (HJK VS Barcelona):

Also If you have any alternative better ideas how to do this tell me.