Module:Detect singular/doc

Revision as of 21:07, 29 August 2024 by Wikipedia>Warudo (Added the page to Category:Module documentation pages)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Detect singular

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