---
title: "Templates · Placeholders"
type: "section"
id: "ref-tpl-ph"
url: "https://lols.bot/docs/en/ref-tpl-ph/"
md_url: "https://lols.bot/docs/ref-tpl-ph.en.md"
lang: "en"
alternate: "https://lols.bot/docs/ref-tpl-ph.md"
updated: "2026-11-27"
---

# Templates · Placeholders

## %USERID%

User id (number); or the sender-chat id when the message is sent on behalf of a group/channel.

## %USERNAME%

The username without @ (empty if the user has none).

## %NAME%

Display name (first + last name).

## %MENTION%

A clickable mention of the user (HTML link to the profile).

## %NAMEMENTION%

Same as %MENTION%, but the visible text is always the person name, even when they have a username — %MENTION% would show «@username» there. A suspicious name is replaced with «id&lt;number>», same as everywhere else.

## %CHATURL%

A link to the chat/channel. For join-request templates this is the chat the user is being accepted into.
