Template:Detect singular/doc

Template:Detect singular is used to detect possible lists and is a useful tool for infoboxes, where the label may be singular (e.g., "Nickname:") but the data may be a list.

Usage


Returns if not a list,  if a possible list.

Options
There are four named arguments that control the pluralization:
 * no_comma By default, commas (or semi-colons) will cause the text string to be considered plural. Setting 1 turns this behavior off.
 * any_comma By default, commas (or semi-colons) that are adjacent to digits are singular. Setting 1 turns this behavior off.
 * no_and By default, "and" causes a string to be plural. Setting 1 turns this behavior off.
 * parse_links By default, wikilinks are considered to be unparseable (singular) objects. Setting 1 will allow the parser to read the contents of the wikilinks and determine whether that makes the string plural.

Overrides
To force a particular result, place Force plural or Force singular within the text.

Examples














Override these errors like this: