technically a high, flat-topped section of a defensive structure made of earth or masonry surrounding a fortified site; it often refers to a crenellated masonry wall around a castle
I rested for a few moments at the base of the tombstone and marvelled at the view, the cascade of hills tumbling toward the sea, a hint of mist swirling around their ramparts.
J. Maarten Troost. Headhunters on My Doorstep, p.259 (2013)
---
Lady: [...]The castle of my body is yours by right of conquest. Come, let your tongue dive into the moat of my mouth and let your hands take possession of the ramparts of my plumpies, for I'm yours [throws off her cloak] and yours alone!
Blackadder: [taking off his hood] And I'm yours!
Lady: Ugh!! Edmund! I thought you your brother!
BBC. Blackadder, season 1: The Queen of Spain's Beard
---
‘Ellen! you’ll have to fetch the key, or else I must run round to the porter’s lodge. I can’t scale the ramparts on this side!’
Emily Brontë. Wuthering Heights (1847)
---
there again stopped and, dismounting from his horse, paced for a long time by the Kammer-Kollezski rampart, awaiting the deputation.
Leo Tolstoy. War and Peace: 11 (Book Eleven). Simon & Schuster