Template:Report user/Code: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "Simple code for adding multiple reasons. <onlyinclude><includeonly>{{#if:{{{ToolTip|}}}|{{#switch:{{{1|}}} | #default = {{#if:{{{NoSpecified|}}}||{{Report_user/strings|Re...")
 
No edit summary
Line 1: Line 1:
Simple code for adding multiple reasons.
Simple code for adding multiple reasons.


<onlyinclude><includeonly>{{#if:{{{ToolTip|}}}|{{#switch:{{{1|}}}
<onlyinclude><includeonly>
{{#switch:{{{type|}}}
| ToolTip =
{{#switch:{{{1|}}}
| #default = {{#if:{{{NoSpecified|}}}||{{Report_user/strings|ReasonUnspecifiedTT}}}}
| #default = {{#if:{{{NoSpecified|}}}||{{Report_user/strings|ReasonUnspecifiedTT}}}}
| editwar | dispute = edit war
| editwar | dispute = {{Report_user/strings|ReasonEditWarTT}}
| bully | bullying | harass |harassment = harassment
| bully | bullying | harass |harassment = {{Report_user/strings|ReasonHarassmentTT}}
| troll | trolling = trolling
| troll | trolling = {{Report_user/strings|ReasonTrollingTT}}
| termsofuse | tos | tou = terms of use
| termsofuse | tos | tou = {{Report_user/strings|ReasonTOUTT}}
| vandal | vandalism = vandalism
| vandal | vandalism = {{Report_user/strings|ReasonVandalTT}}
| ad | advertising | spam | spammer = spammer
| ad | advertising | spam | spammer = {{Report_user/strings|ReasonSpamTT}}
| sock | sockpuppet = sockpuppet
| sock | sockpuppet = {{Report_user/strings|ReasonSockTT}}
| copyright | dmca = copyright
| copyright | dmca = {{Report_user/strings|ReasonDMCATT}}
}}|{{#switch:{{{1|}}}
}}
| #default = {{#if:{{{NoSpecified|}}}|| {{Report_user/strings|Unspecified}}}}
| #default =
{{#switch:{{{1|}}}
| #default = {{#if:{{{NoSpecified|}}}||{{Report_user/strings|Unspecified}}}}
| editwar | dispute = {{Report_user/strings|EditWar1}}
| editwar | dispute = {{Report_user/strings|EditWar1}}
| bully | bullying | harass |harassment = {{Report_user/strings|Harass1}}
| bully | bullying | harass |harassment = {{Report_user/strings|Harass1}}
Line 21: Line 26:
| sock | sockpuppet = {{Report_user/strings|Sock1}} {{#if:{{{user|}}}|{{Report_user/strings|SockOf}} {{#ifexist: User:{{{user}}}|[[User:{{{user}}}|{{{user}}}]]|''{{{user}}}'' }} }}
| sock | sockpuppet = {{Report_user/strings|Sock1}} {{#if:{{{user|}}}|{{Report_user/strings|SockOf}} {{#ifexist: User:{{{user}}}|[[User:{{{user}}}|{{{user}}}]]|''{{{user}}}'' }} }}
| copyright | dmca = {{Report_user/strings|DMCA1}}<br><small>''{{Report_user/strings|FalseDMCA}}''</small>
| copyright | dmca = {{Report_user/strings|DMCA1}}<br><small>''{{Report_user/strings|FalseDMCA}}''</small>
}}}}</includeonly></onlyinclude>
}}
| Url =
{{#switch:{{{1|}}}
| #default = {{#if:{{{NoSpecified|}}}||{{Report_user/strings|ReasonUnspecified}}}}
| editwar | dispute = {{Report_user/strings|ReasonEditWar}}
| bully | bullying | harass |harassment = {{Report_user/strings|ReasonHarassment}}
| troll | trolling = {{Report_user/strings|ReasonTrolling}}
| termsofuse | tos | tou = {{Report_user/strings|ReasonTOU}}
| vandal | vandalism = {{Report_user/strings|ReasonVandal}}
| ad | advertising | spam | spammer = {{Report_user/strings|ReasonSpam}}
| sock | sockpuppet = {{Report_user/strings|ReasonSock}}
| copyright | dmca = {{Report_user/strings|ReasonDMCA}}
}}
}}</includeonly></onlyinclude>

Revision as of 12:42, 23 June 2024

Simple code for adding multiple reasons.