Text this: Metal mediated template synthesis of ligands