Template:Report user/Code: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Simple code for adding multiple reasons. | Simple code for adding multiple reasons. | ||
<onlyinclude><includeonly> | <onlyinclude><includeonly>{{#switch:{{{type|}}} | ||
{{#switch:{{{type|}}} | | ToolTip = {{#switch:{{{1|}}} | ||
| ToolTip = | |||
{{#switch:{{{1|}}} | |||
| #default = {{#if:{{{NoSpecified|}}}||{{Report_user/strings|ReasonUnspecifiedTT}}}} | | #default = {{#if:{{{NoSpecified|}}}||{{Report_user/strings|ReasonUnspecifiedTT}}}} | ||
| editwar | dispute = {{Report_user/strings| | | editwar | dispute = {{Report_user/strings|ReasonEditwarTT}} | ||
| bully | bullying | harass |harassment = {{Report_user/strings|ReasonHarassmentTT}} | | bully | bullying | harass |harassment = {{Report_user/strings|ReasonHarassmentTT}} | ||
| troll | trolling = {{Report_user/strings|ReasonTrollingTT}} | | troll | trolling = {{Report_user/strings|ReasonTrollingTT}} | ||
Line 14: | Line 12: | ||
| sock | sockpuppet = {{Report_user/strings|ReasonSockTT}} | | sock | sockpuppet = {{Report_user/strings|ReasonSockTT}} | ||
| copyright | dmca = {{Report_user/strings|ReasonDMCATT}} | | copyright | dmca = {{Report_user/strings|ReasonDMCATT}} | ||
}} | }}| Url = {{#switch:{{{1|}}} | ||
| #default = | | #default = {{#if:{{{NoSpecified|}}}||{{Report_user/strings|ReasonUnspecified}}}} | ||
{{#switch:{{{1|}}} | | 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}} | |||
}}| #default = {{#switch:{{{1|}}} | |||
| #default = {{#if:{{{NoSpecified|}}}||{{Report_user/strings|Unspecified}}}} | | #default = {{#if:{{{NoSpecified|}}}||{{Report_user/strings|Unspecified}}}} | ||
| editwar | dispute = {{Report_user/strings|EditWar1}} | | editwar | dispute = {{Report_user/strings|EditWar1}} | ||
Line 26: | Line 32: | ||
| 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> | ||
}}</includeonly></onlyinclude> |
Latest revision as of 13:14, 23 June 2024
Simple code for adding multiple reasons.