Translations:Manual:Messages API/130/en

You use $1 in most places where html markup is supported, and you use $2 in places where the content is going to become html escaped or html markup is not supported.