It's only a QAD (Quick and Dirty) solution, and will only for with "%s", but its a start. So the first parameter is the string containing the %s place holders, the following parameters (any number of them) are the variables, with their attributes, to be inserted.

Email codedump link for Printing in colour from an already defined variable