From the Super Mario Wiki
Temple is a stage in Super Smash Bros. Melee, being notable for being the largest selectable map in the game. This level is loosely based off the The Legend of Zelda series of games. Though not based on a specific area from any game, it most closely resembles the various temples and castles that Link visited in Zelda II: The Adventure of Link. The music playing during the level is taken from that particular game as well.
The stage reappears in Super Smash Bros. Brawl where it featured a new unlockable remix of the music that plays on the stage, known as "Temple/Great Temple". In Melee, the alternate background music of the Temple that occasionally plays is from Fire Emblem. Because Marth and Roy from the Fire Emblem series do not have their own stage in that game, their music was added here. This tune does not return for Brawl.
 My Music