An example of an extended metaphor is:
an entire poem comparing a swimmer to a dolphin.
This is because an extended metaphor involves comparing two unlike things throughout a long passage or the entirety of a poem. In this case, the swimmer is consistently being compared to a dolphin.