Kirkcaldy — town and former royal burgh in Fife, Scotland, UK