Template:Banned user/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
 
(12 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 a user, use the {{tl|link=Report user}} template (more info can be found on the template).}}
{{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 ==
The used strings are on [[/strings|strings subpage]]. Please follow the format to add translations for them.
{{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 23: 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 32: 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

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 user, use the {{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

Icon-translate.png
This template uses a strings subpage
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.
{{Banned user}}
{{{reason}}} Select reasons why this user has been banned. Icons will be also changed by the same parameter.
{{Banned user|reason=termsofuse}}
{{{status}}} For specifying the status of a ban/block.
{{Banned user|status=previously}}
{{{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]]}}
{{{note}}} Add additional notes. (Optional)
{{Banned user|note=Banned by [[User:Example]], {{Lorem ipsum}}}}
{{{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}}

Preview

Icon-crystalclear-flag.png
This user has been banned for an unspecified reason, such as Wikipedia icon spamming, Wikipedia icon vandalism, Wikipedia icon copyright violations, Wikipedia icon sockpuppetry, Wikipedia icon edit warring, trolling or Wikipedia icon harassment, and/or violating the Valve Developer Community's Terms of Use along with other misbehavior.
Note.pngNote:The template will automatically load the content according to the interface language.