The white-light emission of a triple-component lanthanide coordination polymer turns to blue and red upon adding Mn2+ and Ag+ ions, respectively.