user_id required default (none)The Yahoo account name to build the badge for. Required. With an empty value the whole expansion outputs nothing. The name is URL-encoded in the ymsgr: link and the image URL; until November 2026 it went in unescaped, so on an install not updated since store only plain account names here.
action optional default sendimThe verb placed after ymsgr: in the link, which the Yahoo Messenger client would have used to start an interaction. Validated against a fixed list; any other value falls back to sendim.
style optional default 2Which status-icon size to request from the image host, 0 to 4. Each number maps to a fixed width and height (style 2 is 125x25, style 1 is 64x16, styles 0 and 4 are the 12x12 dot, style 3 is 86x16). Any value outside 0 to 4 falls back to 2.
{safe:{yahoo:alice123}}
{safe:{yahoo:alice123:addfriend}}
{safe:{yahoo:alice123:call:1}}
{yahoo:{text...........1}}
{safe:{yahoo:alice123:bogus:9}}
[{yahoo:}]