{{#invoke:Message box|mbox}}
This template can be used in place of a literal "}" when the latter would be interpreted as a syntactic marker.
For example, {{)}} gives "}".