Template:Banned user/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
{{shortcut|{{tl|link=Banned}}<br>{{tl|link=Ban}}}}
{{shortcut|{{tl|link=Banned}}<br>{{tl|link=Ban}}}}
{{Note|If you want to report a user, use the {{tl|link=Report user}} template (more info can be found on the template).}}
{{Note|If you want to report a user, use the {{tl|link=Report user}} template (more info can be found on the template).}}
''For the template used to report users, see [[Template:Report user]]''
{{For|the template used to report users|[[Template:Report user]]}}


This template is used on user pages in order to notify other users that a user has been blocked/banned from editing on the wiki.
This template is used on user pages in order to notify other users that a user has been blocked/banned from editing on the wiki.

Revision as of 01:02, 24 July 2023

Edit-copy.png
This is a documentation subpage for Template:Banned user.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Note.pngNote:If you want to report a user, use the {{Report user}} template (more info can be found on the template).
For the template used to report users, see Template:Report user.

This template is used on user pages in order to notify other users that a user has been blocked/banned from editing on the wiki.

Translations

The used strings are on strings subpage. Please follow the format to add translations for them.

Testcases

Testcases for this template can be located on the testcases subpage.

Parameters and Examples

Parameter Description Example
No Parameters Use this if the user has been banned for multiple reasons.
{{Banned user}}
{{{reason}}} Select reasons why this user has been banned. Icons will be also changed by the same parameter.
{{Banned user|reason=termsofuse}}
{{{user}}} If used with reason=sock, set the username of the user who just recently got banned for ban evasions or creating sockpuppet account for inappropriate purposes.
{{Banned user|reason=sock|user=[[User:Example]]}}
{{{nocat}}} To prevent the adding of the Category:Banned Users category. Does not change anything visibly. Only use this if you want to preview the template.
{{Banned user|nocat=1}}
Note.pngNote:The template will automatically load the content according to the interface language.