As I understand it, each classic Super Mario platformer has these as their core themes:
SMB1: Alice in Wonderland
SMB2: Masks (from Fuji TV's Yume Koujou event)
SMB3: Japanese mythology
SMW: Dinosaurs
SML1: Ancient civilisations
SML2: Uhhhhhhh…… every wacky idea they had left??