Using a mixed-ligand synthetic scheme, we create a family of quasi-two-dimensional antiferromagnets, namely, [Cu(HF2)(pyz)2]ClO4 [pyz = pyrazine], [CuL2(pyz)2](ClO4)2 [L = pyO = pyridine-N-oxide and 4-phpyO = 4-phenylpyridine-N-oxide. These materials are shown to possess equivalent two-dimensional [Cu(pyz)2] 2+ nearly square layers, but exhibit interlayer spacings that vary from 6.5713Å to 16.777Å, as dictated by the axial ligands. We present the structural and magnetic properties of this family as determined via x-ray diffraction, electron-spin resonance, pulsed-and quasistatic-field magnetometry and muon-spin rotation, and compare them to those of the prototypical two-dimensional magnetic polymer Cu(pyz)2(ClO4)2. We find that, within the limits of the experimental error, the two-dimensional, intralayer exchange coupling in our family of materials remains largely unaffected by the axial ligand substitution, while the observed magnetic ordering temperature (1.91 K for the material with the HF2 axial ligand, 1.70 K for the pyO and 1.63 K for the 4-phpyO) decreases slowly with increasing layer separation. Despite the structural motifs common to this family and Cu(pyz)2(ClO4)2, the latter has significantly stronger two-dimensional exchange interactions and hence a higher ordering temperature. We discuss these results, as well as the mechanisms that might drive the long-range order in these materials, in terms of departures from the ideal S = 1/2 two-dimensional square-lattice Heisenberg antiferromagnet. In particular, we find that both spin exchange anisotropy in the intralayer interaction and interlayer couplings (exchange, dipolar, or both) are needed to account for the observed ordering temperatures, with the intralayer anisotropy becoming more important as the layers are pulled further apart.