Starting from poly(4-vinylpyridine) ((P4VP)n), poly(2-vinylpyridine) ((P2VP)n), and [N=P(O2CH2CF3)]m-b-P2VP20 block copolymers, a series of metal-containing homopolymers, (P4VP)n⊕MXm, (P2VP)n⊕MXm, and [N=P(O2CH2CF3)]m-b-P2VP20]⊕MXm MXm = PtCl2, ZnCl2, and Eu(NO3)3, have been successfully prepared by using a direct and simple solution methodology. Solid-state pyrolysis of the prepared metal-containing polymeric precursors led to the formation of a variety of different metallic and metal oxide nanoparticles (Pt, ZnO, Eu2O3, and EuPO4) depending on the composition and nature of the polymeric template precursor. Thus, whereas Eu2O3 nanostructures were obtained from europium-containing homopolymers ((P4VP)n⊕MXm and (P2VP)n⊕MXm), EuPO4 nanostructures were achieved using phosphorus-containing block copolymer precursors, [N=P(O2CH2CF3)]m-b-P2VP20]⊕MXm with MXm = Eu(NO3)3. Importantly, and although both Eu2O3 and EuPO4 nanostructures exhibited a strong luminescence emission, these were strongly influenced by the nature and composition of the macromolecular metal-containing polymer template. Thus, for P2VP europium-containing homopolymers ((P4VP)n⊕MXm and (P2VP)n⊕MXm), the highest emission intensity corresponded to the lowest-molecular-weight homopolymer template, [P4VP(Eu(NO3)3]6000, whereas the opposite behavior was observed when block copolymer precursors, [N=P(O2CH2CF3)]m-b-P2VP20]⊕MXm MXm= Eu(NO3)3, were used (highest emission intensity corresponded to [N=P(O2CH2CF3)]100-b-[P2VP(Eu(NO3)3)x]20). The intensity ratio of the emission transitions: 5D0 → 7F2/5D0 → 7F1, suggested a different symmetry around the Eu3+ ions depending on the nature of the polymeric precursor, which also influenced the sizes of the prepared Pt°, ZnO, Eu2O3, and EuPO4 nanostructures.