Template:Banned user/doc: Difference between revisions
Jump to navigation
Jump to search
Note:If you want to report user, use the
Note:The template will automatically load the content according to the interface language.
mNo edit summary |
1416006136 (talk | contribs) m (→Translations) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{doc/subpage}} | {{doc/subpage}} | ||
{{shortcut|{{tl|link=Banned}}<br>{{tl|link=Ban}}}} | {{shortcut|{{tl|link=Banned}}<br>{{tl|link=Ban}}}} | ||
{{Note|If you want to report | {{Note|If you want to report user, use the {{tl|link=Report user}} template (more info can be found on the template).}} | ||
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. | ||
You can add this to user page and the user talk page aswell (only put the latter with {{param|nocat}} parameter on it to prevent adding talk pages to the category). | |||
== Translations == | == Translations == | ||
{{Strings notice}} | |||
== Testcases == | == Testcases == | ||
Testcases for this template can be located on the [[/testcases|testcases subpage]]. | Testcases for this template can be located on the '''[[/testcases|testcases subpage]]'''. | ||
== Parameters and Examples == | == Parameters and Examples == | ||
Line 25: | Line 26: | ||
| Select reasons why this user has been banned. Icons will be also changed by the same parameter. | | Select reasons why this user has been banned. Icons will be also changed by the same parameter. | ||
| {{CodeBlock|margin=5px|<nowiki>{{Banned user|reason=termsofuse}}</nowiki>}} | | {{CodeBlock|margin=5px|<nowiki>{{Banned user|reason=termsofuse}}</nowiki>}} | ||
|- | |||
| align=center | {{Code|{{Param|status}}}} | |||
| For specifying the status of a ban/block. | |||
| {{CodeBlock|margin=5px|<nowiki>{{Banned user|status=previously}}</nowiki>}} | |||
|- | |- | ||
| align=center | {{Code|{{Param|user}}}} | | align=center | {{Code|{{Param|user}}}} | ||
| If used with {{Code|<nowiki>reason=sock</nowiki>}}, set the username of the user who just recently got banned for ban evasions or creating sockpuppet account for inappropriate purposes. | | If used with {{Code|<nowiki>reason=sock</nowiki>}}, set the username of the user who just recently got banned for ban evasions or creating sockpuppet account for inappropriate purposes. | ||
| {{CodeBlock|margin=5px|<nowiki>{{Banned user|reason=sock|user=[[User:Example]]}}</nowiki>}} | | {{CodeBlock|margin=5px|<nowiki>{{Banned user|reason=sock|user=[[User:Example]]}}</nowiki>}} | ||
|- | |||
| align=center | {{Code|{{Param|note}}}} | |||
| Add additional notes. '''(Optional)''' | |||
| {{CodeBlock|margin=5px|<nowiki>{{Banned user|note=Banned by [[User:Example]], {{Lorem ipsum}}}}</nowiki>}} | |||
|- | |- | ||
| align=center | {{Code|{{Param|nocat}}}} | | align=center | {{Code|{{Param|nocat}}}} | ||
Line 34: | Line 43: | ||
| {{CodeBlock|margin=5px|<nowiki>{{Banned user|nocat=1}}</nowiki>}} | | {{CodeBlock|margin=5px|<nowiki>{{Banned user|nocat=1}}</nowiki>}} | ||
|} | |} | ||
== Preview == | |||
{{banned user|nocat=1}} | |||
*For more previews, see the '''[[/testcases|testcases subpage]]'''. | |||
{{Note|The template will automatically load the content according to the interface language.}} | {{Note|The template will automatically load the content according to the interface language.}} |
Latest revision as of 07:20, 17 August 2023

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.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

{{Report user}}
template (more info can be found on the template).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.
You can add this to user page and the user talk page aswell (only put the latter with {{{nocat}}} parameter on it to prevent adding talk pages to the category).
Translations

This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
Please follow the format on this subpage(s) to add translations.
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. | |
{{{reason}}} | Select reasons why this user has been banned. Icons will be also changed by the same parameter. | |
{{{status}}} | For specifying the status of a ban/block. | |
{{{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. | |
{{{note}}} | Add additional notes. (Optional) | |
{{{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. |
Preview

This user has been banned for an unspecified reason, such as
spamming,
vandalism,
copyright violations,
sockpuppetry,
edit warring, trolling or
harassment, and/or violating the Valve Developer Community's Terms of Use along with other misbehavior.






- For more previews, see the testcases subpage.
