Three men have gone on trial for the murder of a teenager in a park after one of them was allegedly placed at the scene by his ankle tag.