Low temperature nanocasting synthesis of lanthanide ions (Ln = Tb, Eu, Dy) doped CaWO4 mesoporous structure with efficiently luminescent properties.