Reverse horseshoe and spiral templates in an erbium-doped fiber laser.