Jump to content

Template:Contributions phrase/doc

From Wikipedia, the free encyclopedia

This template may be used to supply variations of the "one or more of your contributions" phrase used by many of the standard user warning templates. It allows you to make the conditional phrase declarative (has been instead of may have been undone), and to indicate how many edits you are talking about (1 to 5, many, most, all, etc.) along with proper verb agreement.

Usage

[edit]

{{contributions phrase|keyword}}

Parameters

[edit]

There is one optional unnamed parameter:

|1= – a keyword describing the number of user edits being warned about; this affects the contributions phrase as follows:

  • 1 or one or only : "your contribution ... has been undone because it"
  • any of: 2|3|4|5|two|three|four|five|many|most|several|all : "<keyword> of your contributions ... have been undone because they"
  • anything else, or omitted: "one or more of your contributions ... may have been undone because they"

Note that not passing the parameter, or passing an invalid value, is the same as not transcluding the template, in warning templates that use this phrase; i.e., omitting the param matches current usage.

Examples

[edit]

See also

[edit]