Module:Detect singular/doc

From 2021pedia

This is the documentation page for Module:Detect singular

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

Lua to determine whether a string is singular or plural. Designed for use in infoboxes, to determine whether labels should be singular or plural based on the corresponding data, e.g.

{{#invoke:Detect singular|pluralize|Wynken, Blynken, and Nod||singular|plural}} → plural