Replaces a placeholder in the form of {key} with a link to the given element using the
element’s toString() method as the text.
To use a custom text, use the link(string key, Locatable elem, string text) predicate.
To bind text directly without linking it to an element, use the predicate
text(string key, string text).