Conceit

Definition: An extended metaphor with a complex logic that governs a poetic passage or entire poem.

Example: John Donne's poem "The Flea" uses a conceit to compare a flea bite to the act of love.