allegory: an expressive style that uses fictional characters and events to describe some subject by suggestive resemblances; an extended metaphor
pedantry: an ostentatious and inappropriate display of learning