Wii>Switch>DS>GBA=Wii U>Gamecube>3DS
Wii has the one-two-three-four punch of Twilight Princess, the Mario Galaxy games, and Xenoblade 1, which elevates it above every other Nintendo platform.
Switch on one hand, had BOTW and Three Houses, which were both stellar, but it also had two of the most underwhelming games of all time (Mario Odyssey and Xenoblade 2), and Pokemon's been awful on the Switch. I'd say that all of the good indie and third-party games (Celeste, Witcher 3 and Bloodstained especially, and Hollow Knight to a lesser extent) elevates it above the DS.
The DS had Pokemon at its peak, and a ton of good third-party games, but its first-party output outside of Pokemon was so-so.
The GBA and the Wii U had some really good first-party games, but not much else.
The Gamecube is overrated. Sunshine was probably the worst 3D Mario until Odyssey came around, I didn't enjoy Metroid Prime much at all, and Wind Waker, whilst still good, is a mid-tier Zelda at best.
The 3DS was awful. Almost every major franchise from Nintendo had their worst entries on it (NSMB2, Fire Emblem: Fates, the decline of Pokemon, Triforce Heroes), and I'd say that ALBW is the only genuinely great game of the platform.