{icq:user_id:action:style}

Description

Displays an ICQ status indicator for a user: a small online or offline image that links to that ICQ account. Pass the ICQ user number (UIN), an optional action that decides which ICQ page the link opens, and an optional icon style number. With an empty user id the expansion outputs nothing. The output is a fixed HTML anchor wrapping an image served from ICQ status server. Note that ICQ was shut down in 2024, so the live image and link no longer resolve; this expansion is kept for legacy templates and as a sibling of the skype and yahoo indicators.

Parameters

user_id required default (none)

The user's ICQ number (UIN), for example 12345678. With an empty user_id the expansion outputs nothing.

action optional default add

Which ICQ web action the link opens for the visitor. Use add to open the add-contact page or message to open the send-message page.

style optional default 1

Icon style number 0 to 26, chosen from ICQ's set of status indicator images. Non-integer values are treated as 0.

Examples

virtual{icq:12345678}
Expected
">Actual
Renders a clickable ICQ status image for UIN 12345678 with the default add action and style 1. Output is raw HTML, so this example is illustrative rather than a text test.
virtual{icq:12345678:add:5}
Expected
">Actual
Chooses icon style 5. The style number selects which status image variant ICQ serves (0 to 26).
test[{icq:}]
Expected[]
Actual[]
With no user id the expansion returns an empty string, so it adds nothing to the page. The brackets here only make the empty result visible.
virtual{icq:12345678:message}
Expected
">Actual
Sets the action to message so the link opens the send-message page instead of the add-contact page.
virtual{icq:{icq_number........}:message:2}
Expected(an ICQ indicator for the UIN stored in the field)
Actual
In a real template the user id comes from an item field rather than a literal. Here a field getter supplies the UIN; substitute your own slice field. Shown illustratively.