I totally agree. A format string template would be much more readable, in my opinion.

It would also be easier to test and make you have full branch coverage. One liners make it difficult to determine whether or not all cases are covered.