Template:Report user/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{doc/subpage}} {{Note|Currently work in progress. Used for reporting users, replacement of Template:Spammer.}} == Usage == Use this template on user page if you want to r...")
 
 
(35 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{doc/subpage}}
{{doc/subpage}}
{{Note|Currently work in progress. Used for reporting users, replacement of [[Template:Spammer]].}}
{{shortcut|{{tl|spam}}<br>{{tl|spammer}}<br>{{tl|report}}<br>{{tl|reported user}}}}
{{Note|1=Originally, this template used to be called [https://developer.valvesoftware.com/w/index.php?title=Template:Spammer&redirect=no 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".}}
== Usage ==
== Usage ==
Use this template on user page if you want to report this user for various reasons.
Use this template on user page if you want to '''report''' a user or editors for various reasons.
== Translations ==
 
The used strings are on [[/strings|strings subpage]]. Please follow the format to add translations for them.
Once this user has been banned, this template should be replaced with {{tl|link=Banned user}}.
== Icons ==
 
The used icons are located on [[/icons|icons subpage]].
== Testcases ==
Testcases for this template can be located on the [[/testcases|testcases subpage]].
 
== Parameters ==
== Parameters ==
{| class="standard-table" width="100%"
{| class="standard-table" width="100%"
! width="15%" | Parameter
! width="10%" | Parameter
! width="25%" | Description
! width="25%" | Description
! Example
! Example
! Result
|-
|-
| align=center | No Parameters
| align=center | No Parameters
| Use this if the user has been banned for multiple reasons.
| Use this if the user should be banned for multiple/unspecified reasons.
| {{CodeBlock|margin=5px|<nowiki>{{User:Kr0tchet/sandbox/template_report_user}}</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>{{Report user}}</nowiki>}}
| {{User:Kr0tchet/sandbox/template_report_user|nocat=1}}
|-
|-
| align=center | {{Code|{{Param|type}}}}
| align=center | {{Code|{{Param|reason}}}}
| Select reasons why this user has been banned. Icons will be also changed by the same parameter.
| Select reasons why this user should be banned. List of value can be found in the [[/testcases|testcases page]].
| <!-- Example section -->
| {{CodeBlock|margin=5px|<nowiki>{{Report user|reason=termsofuse}}</nowiki>}}
Edit war/Disputed edit: {{CodeBlock|margin=5px|<nowiki>{{User:Kr0tchet/sandbox/template_report_user|type=editwar}}</nowiki>}}<br>
Spam: {{CodeBlock|margin=5px|<nowiki>{{User:Kr0tchet/sandbox/template_report_user|type=spam}}</nowiki>}}<br>
Sockpuppet (username not specified): {{CodeBlock|margin=5px|<nowiki>{{Banned user|type=sock}}</nowiki>}}<br>
Vandalism: {{CodeBlock|margin=5px|<nowiki>{{User:Kr0tchet/sandbox/template_report_user|type=vandal}}</nowiki>}}<br>
Copyright: {{CodeBlock|margin=5px|<nowiki>{{User:Kr0tchet/sandbox/template_report_user|type=copyright}}</nowiki>}}
| {{User:Kr0tchet/sandbox/template_report_user|nocat=1|type=editwar}}<br> <!-- Preview/result section -->
{{User:Kr0tchet/sandbox/template_report_user|nocat=1|type=spam}}<br>
{{User:Kr0tchet/sandbox/template_report_user|nocat=1|type=sock}}<br>
{{User:Kr0tchet/sandbox/template_report_user|nocat=1|type=vandal}}<br>
{{User:Kr0tchet/sandbox/template_report_user|nocat=1|type=copyright}}
|-
|-
| align=center | {{Code|{{Param|user}}}}
| align=center | {{Code|{{Param|user}}}}
| If used with {{Code|<nowiki>type=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>}}, 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>{{Banned user|type=sock|user=[[User:Example]]}}</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>{{Report user|reason=sock|user=[[User:Example]]}}</nowiki>}}<br>{{CodeBlock|margin=5px|<nowiki>{{Report user|reason=sock|user=Example}}</nowiki>}}
| {{User:Kr0tchet/sandbox/template_report_user|nocat=1|type=sock|user=[[User:Example]]}}
|-
| align=center | {{Code|{{Param|note}}}}
| Add additional notes (optional).
| {{CodeBlock|margin=5px|<nowiki>{{Report user|reason=spam|note=Image [[File:Spammer.jpg|32px|link=]] Test}}</nowiki>}}
|-
|-
| align=center | {{Code|{{Param|nocat}}}}
| align=center | {{Code|{{Param|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.
| 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>{{Banned 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.
|}
|}
== Preview ==
{{report user|nocat=1}}
{{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 15:21, 16 June 2024

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}}
{{report}}
{{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".

Usage

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

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

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. List of value can be found in the testcases page.
{{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]]}}

{{Report user|reason=sock|user=Example}}
{{{note}}} Add additional notes (optional).
{{Report user|reason=spam|note=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}}

Preview

Icon for Reporting user.
This user has been reported and should be considered for a ban because of 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 Valve Developer Community's Terms of Use along with other misbehavior.
Actions:
Note.pngNote:The template will automatically load the content according to the interface language.