A class of microemulsions solely consisting of ionic liquids was shown to maintain nanoscale droplets up to about 200 °C, and this unique property was used to prepare porous Pt where the microemulsions played the roles of a solvent, a template and a reductant.