Template:Report user/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 12: Line 12:


== Translations ==
== Translations ==
{{Strings notice}}
The used strings are on [[/strings|strings subpage]]. Please follow the format to add translations for them.
 
== Testcases ==
Testcases for this template can be located on the [[/testcases|testcases subpage]].


== Parameters ==
== Parameters ==
Line 19: Line 22:
! width="25%" | Description
! width="25%" | Description
! Example
! Example
! width="45%" | Result
|-
|-
| align=center | No Parameters
| align=center | No Parameters
| Use this if the user should be banned for multiple/unspecified reasons.
| Use this if the user should be banned for multiple/unspecified reasons.
| {{CodeBlock|margin=5px|<nowiki>{{Report user}}</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>{{Report user}}</nowiki>}}
| {{Report user|nocat=1}}
|-
|-
| align=center | {{Code|{{Param|reason}}}}
| align=center | {{Code|{{Param|reason}}}}
| Select reasons why this user should be banned.
| Select reasons why this user should be banned.
| <!-- Example section -->
| {{CodeBlock|margin=5px|<nowiki>{{Report user|reason=TermsOfUse}}</nowiki>}}
Edit war/Disputed edit: {{CodeBlock|margin=5px|<nowiki>{{Report user|reason=editwar}}</nowiki>}}<br>
Spam: {{CodeBlock|margin=5px|<nowiki>{{Report user|reason=spam}}</nowiki>}}<br>
Sockpuppet (username not specified): {{CodeBlock|margin=5px|<nowiki>{{Report user|reason=sock}}</nowiki>}}<br>
Vandalism: {{CodeBlock|margin=5px|<nowiki>{{Report user|reason=vandal}}</nowiki>}}<br>
Copyright: {{CodeBlock|margin=5px|<nowiki>{{Report user|reason=copyright}}</nowiki>}}
| Edit war/Disputed edit: {{Report user|nocat=1|reason=editwar}}<br> <!-- Preview/result section -->
{{Expand|title=Click "Expand" to see more.|
Spam: {{Report user|nocat=1|reason=spam}}<br>
Sockpuppet (username not specified): {{Report user|nocat=1|reason=sock}}<br>
Vandalism: {{Report user|nocat=1|reason=vandal}}<br>
Copyright: {{Report user|nocat=1|reason=copyright}}
}}<!-- end of expand -->
|-
|-
| align=center | {{Code|{{Param|user}}}}
| align=center | {{Code|{{Param|user}}}}
| If used with {{Code|<nowiki>reason=sock</nowiki>}}, mark this account as a suspected sockpuppet from a user who was trying evading bans and attempting to create multiple account (sockpuppeting) for inappropriate purposes.
| If used with {{Code|<nowiki>reason=sock</nowiki>}}, mark this account as a suspected sockpuppet from a user who was trying evading bans and attempting to create multiple account (sockpuppeting) for inappropriate purposes.
| {{CodeBlock|margin=5px|<nowiki>{{Report user|reason=sock|user=[[User:Example]]}}</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>{{Report user|reason=sock|user=[[User:Example]]}}</nowiki>}}
| {{Report user|nocat=1|reason=sock|user=[[User:Example]]}}
|-
|-
| align=center | {{Code|{{Param|addinfo}}}}
| align=center | {{Code|{{Param|addinfo}}}}
| Add additional info (optional).
| Add additional info (optional).
| {{CodeBlock|margin=5px|<nowiki>{{Report user|reason=spam|addinfo=Image [[File:Spammer.jpg|32px|link=]] Test}}</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>{{Report user|reason=spam|addinfo=Image [[File:Spammer.jpg|32px|link=]] Test}}</nowiki>}}
| {{Report user|nocat=1|reason=spam|addinfo=Image [[File:Spammer.jpg|32px|link=]] Test}}
|-
|-
| align=center | {{Code|{{Param|nocat}}}}
| align=center | {{Code|{{Param|nocat}}}}
| To prevent the adding of the [[:Category:Reported Users]] category. Does not change anything visibly. Only use this if you want to preview the template.
| To prevent the adding of the [[:Category:Reported Users]] category. Does not change anything visibly. Only use this if you want to preview the template.
| {{CodeBlock|margin=5px|<nowiki>{{Report user|nocat=1}}</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>{{Report user|nocat=1}}</nowiki>}}
| Same as the first example, but without [[:Category:Reported Users]] category being added to the page.
|}{{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.}}

Revision as of 00:54, 24 July 2023

Edit-copy.png
This is a documentation subpage for Template:Report user.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Shortcut

{{spam}}
{{spammer}}
{{reported user}}

Note.pngNote:Originally, this template used to be called Template:Spammer, it has been later expanded and now being used to report not only spam, but also for various other reasons such as vandalism, DMCA violations, etc..., thus, it has been renamed to "Report user".
Todo: Test this template with a example user to make sure things would work as expected.

Usage

Use this template on user page if you want to report this user for various reasons.

Once this user has been banned, this template should be replaced with {{Banned user}}.

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

Parameter Description Example
No Parameters Use this if the user should be banned for multiple/unspecified reasons.
{{Report user}}
{{{reason}}} Select reasons why this user should be banned.
{{Report user|reason=TermsOfUse}}
{{{user}}} If used with reason=sock, mark this account as a suspected sockpuppet from a user who was trying evading bans and attempting to create multiple account (sockpuppeting) for inappropriate purposes.
{{Report user|reason=sock|user=[[User:Example]]}}
{{{addinfo}}} Add additional info (optional).
{{Report user|reason=spam|addinfo=Image [[File:Spammer.jpg|32px|link=]] Test}}
{{{nocat}}} To prevent the adding of the Category:Reported Users category. Does not change anything visibly. Only use this if you want to preview the template.
{{Report user|nocat=1}}
Note.pngNote:The template will automatically load the content according to the interface language.