ವಿಷಯಕ್ಕೆ ಹೋಗು

ಟೆಂಪ್ಲೇಟ್:Is temporary account/doc

ವಿಕಿಪೀಡಿಯ, ಒಂಜಿ ಸೊತಂತ್ರ ವಿಶ್ವಕೋಶ

This metatemplate determines whether a user is a temporary account.

Use {{Is temporary account}} to determine whether the user identified in the current page title (e.g. User talk:~2025-00000-00) is a temporary account.

Alternatively, use {{Is temporary account|user}} to determine whether the specified user is a temporary account, replacing user with the username to evaluate.

The template returns 1 if the user is a temporary account, and a blank output if the user is not a temporary account.

The template compares the first two characters of the username to ~2, a username prefix exclusively used by all temporary accounts. (There are no existing registered users with usernames starting with ~2, and attempting to register a new account with a username starting with ~2 returns an error.)

If no username is specified, the template uses the {{BASEPAGENAME}} magic word to obtain the username from the page title. {{BASEPAGENAME}} encodes the tilde (~) symbol as ~. For example, {{BASEPAGENAME}} would return ~2025-00000-00 on the page User talk:~2025-00000-00. Because of this, the template compares the first seven characters of the base page title as encoded by {{BASEPAGENAME}} to ~2 in order to determine whether the user identified in the page title is a temporary account.

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Is temporary account in articles based on its TemplateData.

TemplateData for Is temporary account

Determines whether a user is a temporary account

Template parameters

This template prefers inline formatting of parameters.

ಪರಿಮಿತಿಇವರೊಇದೊಸ್ತಿತಿ
Usernameuser 1

Username to evaluate. Defaults to {{BASEPAGENAME}} if unspecified.

ಮೂಲೊಸ್ಥಿತಿ
{{BASEPAGENAME}}
ಉದಾಹರ್ಮೆಲು
~2025-00000-00
ಬಳಕೆದಾರೆರ್ಐಚಿಕೊ
{{Is temporary account}}

{{Is temporary account|~2025-00000-00}}

1


{{Is temporary account|Example}}