The following section is not part of the Zelda canon and should not be taken as such.
Shrines are Objects that were introduced as part of the Octavo's OdeDownloadable Content update. Shrines appear within randomly-generated Dungeons in Story Mode and Dungeon Mode. They can be activated once by bumping into them. When activated, the shrine may drop items and/or produce an effect that persists until the character leaves the dungeon or falls in battle, or the Boss is defeated.[2] Shrines may also be destroyed using a Bomb, Bombchu, Bomb Fairy or Red Puffstool. When destroyed, most shrines will drop an item depending on their type.
Shrines originally appeared in Crypt of the NecroDancer, wherein they function similarly.
↑ 2.02.1Hey, look! A shrine! Shrines are useful, but they often have a tricky side effect that you may not like. Bump into it if you want to take a chance and activate the shrine! Shrine effects stay active until you leave the dungeon, defeat the dungeon boss, or are defeated. — Trill (Cadence of Hyrule)