Module:Detect singular/doc
This is the documentation page for Module:Detect singular
![]() | Some or all text used in this template, module, or documentation has been borrowed from Wikipedia and modified for Weezerpedia. View the original text at Wikipedia:Module:Detect singular.
This page was last edited on March 4, 2025. The version on Wikipedia may have updated since then. |
![]() | This module depends on the following other modules: |
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
- See Template:Detect singular for main() usage.
- See Template:Pluralize from text for pluralize() usage (a wrapper around main()).