Template:Sockpuppet/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(→‎Parameters: specify first, second, and third "positional parameters"; most people aren't going to know what those are, whereas 1= etc is more familiar)
(→‎Parameters: condensing mandatory/optional specifications)
Line 31: Line 31:


===Parameters===
===Parameters===
The first parameter in this table is '''required''' and the template will fail without it. All the other parameters are optional.

{| class="mbox-inside wikitable"
{| class="mbox-inside wikitable"
! Parameter(s)
! Parameter(s)
! Values
! Values
! Notes
! Notes
! Status
|-
|-
|
|
* ''First positional parameter'' (optionally {{para|1}})
* ''First positional parameter'' (optionally {{para|1}})
| ''Username of the sockmaster or suspected sockmaster''
| ''Username of the sockmaster or suspected sockmaster''
| Just include the name, no "User:" or square brackets.
| Just include the name, no "User:" or square brackets.
| '''Compulsory'''
|-
|-
|
|
Line 58: Line 58:
* <code>nbconfirmed</code> - this is also for when the sockpuppet has been confirmed by checkuser, but mentions the Checkuser specifically ("A Checkuser has shown that this account is a sockpuppet of X" versus "This account is a sockpuppet of X").
* <code>nbconfirmed</code> - this is also for when the sockpuppet has been confirmed by checkuser, but mentions the Checkuser specifically ("A Checkuser has shown that this account is a sockpuppet of X" versus "This account is a sockpuppet of X").
* If no second parameter is specified, the template outputs a generic message: "An editor has expressed a concern that this account may be a sockpuppet of X".
* If no second parameter is specified, the template outputs a generic message: "An editor has expressed a concern that this account may be a sockpuppet of X".
| Optional
|-
|-
|
|
Line 65: Line 64:
| ''Evidence of sockpuppetry''
| ''Evidence of sockpuppetry''
| This field can be used to link to the evidence of sockpuppetry, or to give a very brief summary (a couple of words). If this parameter is left blank and the sockpuppet investigation case page is a blue link, then a link to the case page is provided automatically.
| This field can be used to link to the evidence of sockpuppetry, or to give a very brief summary (a couple of words). If this parameter is left blank and the sockpuppet investigation case page is a blue link, then a link to the case page is provided automatically.
| Optional
|-
|-
|
|
Line 72: Line 70:
* <code>yes</code>
* <code>yes</code>
| Use {{para|locked|yes}} if the account is [[:m:Locked global account|globally locked]].
| Use {{para|locked|yes}} if the account is [[:m:Locked global account|globally locked]].
| Optional
|-
|-
|
|
Line 78: Line 75:
| ''Length of time the sockpuppet or suspected sockpuppet was blocked''
| ''Length of time the sockpuppet or suspected sockpuppet was blocked''
| Use this field if the sockpuppet or suspected sockpuppet was blocked for a specific length of time. This parameter defaults to "indefinitely".
| Use this field if the sockpuppet or suspected sockpuppet was blocked for a specific length of time. This parameter defaults to "indefinitely".
| Optional
|-
|-
|
|
Line 85: Line 81:
| ''Custom category name for the sockpuppet or suspected sockpuppet''
| ''Custom category name for the sockpuppet or suspected sockpuppet''
| This parameter defaults to the category "Wikipedia sockpuppets of X" if the second positional parameter is set to "confirmed", and "Suspected Wikipedia sockpuppets of X" if the second positional parameter is set to anything else. Here, "X" is the username specified in the first positional parameter.
| This parameter defaults to the category "Wikipedia sockpuppets of X" if the second positional parameter is set to "confirmed", and "Suspected Wikipedia sockpuppets of X" if the second positional parameter is set to anything else. Here, "X" is the username specified in the first positional parameter.
| Optional
|}
|}