dictionaries requiredOne dictionary slice id, or several joined by dashes. Each item in the slice supplies its keywords........ field as the words to look for. Required - an empty value loads no dictionary and the text is returned unchanged.
text requiredThe text to scan. Every whole word that matches a dictionary keyword is replaced by the format string. Text inside script, h1-h6 and a tags, and inside HTML tags themselves, is left untouched. Required.
format optionalTemplate that replaces each matched word. The token _#KEYWORD_ stands for the matched word. If format is instead the id of a field in the dictionary slice, it is auto-wrapped as a substr of that field. Empty by default, but needed for useful output.
conds optionalOptional slice condition set (the same syntax a view uses) that restricts which dictionary items are loaded. If it contains a sort key it is also used to order them.
{dictionary::APC publishes news daily}
{dictionary:9e1d2b9f88e3d6c3bf0eb967378610d6:Visit the website today}
{dictionary:b8f3:APC publishes news:<a href="https#://apc.org">_#KEYWORD_</a>}
{dictionary:b8f3:apc and APC and apcnews:[_#KEYWORD_]}
{dictionary:b8f3:<h2>APC</h2> <a href="x">APC</a> APC:[_#KEYWORD_]}
{dictionary:b8f3:APC and UNEP:[_#KEYWORD_]:highlight........-1-1}
{dictionary:b8f3:APC publishes news:abstract........}