Leave an item on top of a pipe that goes up and down, and the item will end up inside the pipe as it extends. Try this in Chocolate Island 5 with P-Switches, Shells, and Yoshi.
Screenshots