Metal ion templates rearrange ligands into macrocycles; crown ethers (18-crown-6); rotaxanes assembled by threading.