Chat substitutions

All chat commands that send custom text to other players (for example, /yell, /csay, /emote, /raid) may make use of the following patterns to insert unit names or raid icons into the message.

These codes work in normal chat, in macros, and with the function, and are not case-sensitive.

Available substitutions

 * - Inserts the name of the current focus target. Inserts  if applicable.
 * ,  - Inserts the name of the current target, e.g. "Sheeping %t!". Inserts   if nothing is targeted.
 * - Inserts one of the eight target markers:
 * {star}, {rt1} -
 * {circle}, {rt2} -
 * {diamond}, {rt3} -
 * {triangle}, {rt4} -
 * {moon}, {rt5} -
 * {square}, {rt6} -
 * {cross}, {rt7} -
 * {skull}, {rt8} -
 * Note that the raid target markup names (star, circle, diamond, etc.) are localized, so {star} for example will not be replaced by the star texture on a german client. The {rtX}-style markup works on all clients.