Yes but I need to use both as there is one template for physical and online events.
I solved this issue by using
{has_location}
#_LOCATIONLINK #_EVENTLOCATION
{/has_location}
It’s not really comfortable, as we actually wanted to post the whole location address (three placeholders with comma) rather than the location name. But it works.