From the Super Mario Wiki
Super Mario series
Super Mario World
In Super Mario World, they first appear in Yoshi's Island 4 as spiked balls that drift in the water in various levels. They follow the current continuously and pulsate with spikes. Yoshi can step on their spikes harmlessly and a Super Star can defeat them. In the Sunken Ghost Ship, many are in freefall, making it difficult for Mario or Luigi to move around. They can also be eaten by Yoshi. In this game, they appear to have a wooden texture.
Super Mario 64 / Super Mario 64 DS
Mines play a vital role in defeating Bowser in Super Mario 64 and its remake. In the final arenas of Bowser in the Dark World, Bowser in the Fire Sea, and Bowser in the Sky, where the Mines surround the arena, Mario (or Luigi or Wario in the remake) has to throw Bowser into one of the Mines to defeat him (three in the Sky). If the player jumps into one of the Mines, they will take two wedges of damage.
Super Mario Galaxy / Super Mario Galaxy 2
The Mines also appear in Super Mario Galaxy. In this game, they are usually immobile, but sometimes move. They can be defeated if they are shot with a Star Bit. They also appear in Super Mario Galaxy 2, where they look and act the same as in the predecessor. In this game, Yoshi cannot eat them. Some of the Mines may release Coins, 1-Up Mushrooms, or Star Bits. Mines found underwater have glowing eyes, and can regenerate themselves after their detonation.
Super Mario 3D World
Mines also appear in Super Mario 3D World in the form of a green spiked ball with yellow spikes. They first appear in Clear Pipe Cruise. They are in the interior of Clear Pipes, blocking parts of them. Some Green Stars are among Mines; if the player hits a Mine, they do not only take damage and lose a power-up, but they are also ejected backwards in the pipe, so its destruction is necessary to pass. They can be destroyed by a Fireball from Fire Mario, a baseball, Invincible Mario or White Tanooki Mario.
Mario's Time Machine
In Mario's Time Machine, Mines appear as obstacles while Mario is surfing around. In the SNES version, hitting one causes Mario to lose all of his Mushrooms, whereas in the PC version, hitting one only causes Mario to lose one of them.
Mario Party series
Mario Party 3
Mario Party 6
Mines also appear as a projectile in Mario Party 6, in Sink or Swim. While three other characters are swimming in a body of water, one player tries to drop Mines on their heads. If the Mines hit someone, they do not explode. They simply knock them unconscious.
Super Princess Peach
Captain Toad: Treasure Tracker
Mines reappear in Captain Toad: Treasure Tracker using the same appearance as from Super Mario 3D World and acting in the same way. They are usually seen in levels with clear pipes and block the way of the player, such as Clear Pipe Puzzleplex. They can be destroyed by using the Super Pickax power-up.
Luigi's Mansion 3
Mines appear in the Boilerworks in Luigi's Mansion 3. If the player goes near a mine, it flashes red and eventually blows up. Their explosion can pop Luigi's rubber duck boat and make him drown, losing 20 HP.
Names in other languages