You cannot directly play Wii games online with another Wii using just the consoles. Nintendo's Wii online infrastructure (Nintendo Wi-Fi Connection) was shut down in 2014.
Key: Reliable internet required. Original Wii online services are permanently offline.