MB3 70b: Havdalah on a Cup in Shul (295:1); Havdalah at Home (296:1)

Havdalah over wine in shul for those who don't have wine, the nusach for Havdalah in shul, why we emphasize Eliyahu HaNavi on Motzei Shabbos.

Is Havdalah biblical or rabbinic?