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