Not passing Message object into template

The template mechanism derives from the Message system. Passing a
Message instance causes the parameter getting parsed after other (plain)
texts have been inserted into the assembled message (template).
Consequently, parameter strings in other texts will be detected by the
mechanism replacing the parameter with the Message instance.

Bug: T76673

Change-Id: If8067e5a60ffde954e10701613130e9af6848c5d
Merge "Not passing Message object into template"