Template:Connected contributor/sandbox

From blackwiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage

If you are user Example, and you have just checked an article for COI by user John Smith who has declared his connection at the diff with revision ID 442212827, use this:

{{Connected contributor|checked={{subst:today}} by {{u|Example}}|user=John Smith|declared=yes|otherlinks={{diff2|442212827|declared here}}}}

This produces the following:

For a complete overview of parameters, see below. For a real example, the Assurant talk page shows Template:T and Template:T.

Use this template when dealing with a general conflict of interest, including financial conflict of interest that does not involve being paid to edit Wikipedia. It can be used whether there is an actual (confirmed) or an apparent COI, but if the COI is unconfirmed do not add it without justifiably strong suspicion.

The template adds articles to Category:Articles with connected contributors.

Parameters

|checked=

Text parameter. Most recent date that a neutral editor checked the edits of all known connected contributors for neutrality as well as the name of that editor. For example: |checked=31-12-2016 by Example

You can use templates {{today}} (substituted) and {{u}} to insert this conveniently: |checked={{subst:today}}by{{u|Example}}


|user=

Text parameter. User name of the COI editor. For example: |user=John Smith

Note that the user name is automatically linked complete with talk page and contributions (i.e. the {{user}} template is automatically applied for you)


|alt1= |alt2= |alt3= |alt4=

Text parameters. Alternative names for the COI editor. Useful in cases of Wikipedia:Sockpuppetry. Otherwise works like |user=.


|editedhere=

Yes/no parameter (optional). If the COI editor has edited the present article, enter "yes".


|declared=

Yes/no parameter (optional). If the COI editor has declared their connection/financial interest in Wikipedia, enter "yes".


|otherlinks=

Text parameter (optional). If the COI editor has declared their connection and you know where, you can provide a link to it. You can also provide a label for the link.

If you provide a general URL (including to a Wikipedia edit) consider using the following format for the otherlinks parameter:

[https://en.wikipedia.org/w/index.php?title=SomePageName&oldid=442212827 declared here]

(Note how the URL is followed by the label "declared here" and enclosed in square brackets).

A more succinct way to do this for links to Wikipedia edits is to use the {{diff2}} template, like this: {{diff2|442212827|declared here}} (Note how you only need the revision ID and label)


|banned=

Yes/no parameter (optional). If the COI editor user has been formally banned from editing the present article, enter "yes". This adds a note to that user name, informing readers that if they spot contributions of that user that weren't caught and reverted, they may do so. Please do not use this parameter if you are not sure about the COI editor's status.


|small=

Yes/no parameter (optional). If you need to make the box small and right floating, enter "yes".


Multi-listing

The above example was for listing a single COI editor.

This template is capable of listing up to 10 editors. Assign a number between 1 and 10 to each editor listed, and substitute that value for X in each of the parameters listed below. Parameters otherwise work as described for single-listing above.

UserX

the user name of the COI editor. Note there is no capacity to list alternative names (per the |alt1=...|alt4= parameters above) in a multi-listing.

UX-EH

Edited here: whether or not the COI editor has edited the present article

UX-declared

COI declared: whether the COI user has declared their connection

UX-otherlinks

Other links: a link to the diff of the editor's COI declaration

UX-banned

Banned: whether the user has been formally banned from editing the present article

Example

{{Connected contributor
| checked = 31-12-2016 by {{u|Example}}
| User1 = WikiWriter2458 | U1-EH = yes | U1-declared = yes |U1-otherlinks = |U1-banned =
| User2 = John Smith | U2-EH = no | U2-declared = no |U2-otherlinks = |U2-banned =
| User3 = Janet Doe | U3-EH = yes | U3-declared = yes |U3-otherlinks = |U3-banned = yes
| User4 = xx | U4-EH = yes | U4-declared = no |U4-otherlinks = |U4-banned =
}}

This code produces the following:

{{Template:PAGENAMETDOC | checked = 31-12-2016 by Template:U | User1 = WikiWriter2458 | U1-EH = yes | U1-declared = yes |U1-otherlinks = |U1-banned = | User2 = John Smith | U2-EH = no | U2-declared = no |U2-otherlinks = |U2-banned = | User3 = Janet Doe | U3-EH = yes | U3-declared = yes |U3-otherlinks = |U3-banned = yes | User4 = xx | U4-EH = yes | U4-declared = no |U4-otherlinks = |U4-banned = }}

Template Data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Connected contributor

Extended content

No description.

Template parameters

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
Smallsmall

no description

Unknownoptional
U1-EHU1-EH

no description

Unknownoptional
Checkedchecked

no description

Unknownoptional
User1User1

no description

Unknownoptional
Useruser

no description

Unknownoptional
Alt1alt1

no description

Unknownoptional
Alt2alt2

no description

Unknownoptional
Alt3alt3

no description

Unknownoptional
Alt4alt4

no description

Unknownoptional
Editedhereeditedhere

no description

Unknownoptional
U1-declaredU1-declared

no description

Unknownoptional
Declareddeclared

no description

Unknownoptional
U1-bannedU1-banned

no description

Unknownoptional
Bannedbanned

no description

Unknownoptional
U1-otherlinksU1-otherlinks

no description

Unknownoptional
Otherlinksotherlinks

no description

Unknownoptional
User2User2

no description

Unknownoptional
U2-EHU2-EH

no description

Unknownoptional
U2-declaredU2-declared

no description

Unknownoptional
U2-bannedU2-banned

no description

Unknownoptional
U2-otherlinksU2-otherlinks

no description

Unknownoptional
User3User3

no description

Unknownoptional
U3-EHU3-EH

no description

Unknownoptional
U3-declaredU3-declared

no description

Unknownoptional
U3-bannedU3-banned

no description

Unknownoptional
U3-otherlinksU3-otherlinks

no description

Unknownoptional
User4User4

no description

Unknownoptional
U4-EHU4-EH

no description

Unknownoptional
U4-declaredU4-declared

no description

Unknownoptional
U4-bannedU4-banned

no description

Unknownoptional
U4-otherlinksU4-otherlinks

no description

Unknownoptional
User5User5

no description

Unknownoptional
U5-EHU5-EH

no description

Unknownoptional
U5-declaredU5-declared

no description

Unknownoptional
U5-bannedU5-banned

no description

Unknownoptional
U5-otherlinksU5-otherlinks

no description

Unknownoptional
User6User6

no description

Unknownoptional
U6-EHU6-EH

no description

Unknownoptional
U6-declaredU6-declared

no description

Unknownoptional
U6-bannedU6-banned

no description

Unknownoptional
U6-otherlinksU6-otherlinks

no description

Unknownoptional
User7User7

no description

Unknownoptional
U7-EHU7-EH

no description

Unknownoptional
U7-declaredU7-declared

no description

Unknownoptional
U7-bannedU7-banned

no description

Unknownoptional
U7-otherlinksU7-otherlinks

no description

Unknownoptional
User8User8

no description

Unknownoptional
U8-EHU8-EH

no description

Unknownoptional
U8-declaredU8-declared

no description

Unknownoptional
U8-bannedU8-banned

no description

Unknownoptional
U8-otherlinksU8-otherlinks

no description

Unknownoptional
User9User9

no description

Unknownoptional
U9-EHU9-EH

no description

Unknownoptional
U9-declaredU9-declared

no description

Unknownoptional
U9-bannedU9-banned

no description

Unknownoptional
U9-otherlinksU9-otherlinks

no description

Unknownoptional
User10User10

no description

Unknownoptional
U10-EHU10-EH

no description

Unknownoptional
U10-declaredU10-declared

no description

Unknownoptional
U10-bannedU10-banned

no description

Unknownoptional
U10-otherlinksU10-otherlinks

no description

Unknownoptional

Tracking category

See also