User:JMJimmy/Template:ColorApproval/doc

This template is used by User:JMJimmy/Template:Approval but has other uses as well.

param1 can be set to one of the following two:

1. a list of at least 1 name, delimited by a comma if more than one name exists.

2. a single number, positive or negative

param2 can be set to one of the following two:

1. a list of at least 1 number, positive or negative, delimited by a comma if more than one number exists.

2. Optionally, param2 can be set to any plain text value. This is not required.

param3 is optional in the case of param1 being set to a number, but required if param1 is set to a name or list of names. When being set, param3 should be a single name that is found in param1. This name will result in the correct corresponding number in param2 being used in the output.

Examples:

1.

2.

3.

4.

1.

2.

3.

4.