More actions
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
*See [[Template:Detect singular]] for main() usage. Test cases [[Template:Detect singular/testcases|here]]. | *See [[Template:Detect singular]] for main() usage. Test cases [[Template:Detect singular/testcases|here]]. | ||
*See | *See[Template:Pluralize from text for pluralize() usage (a wrapper around main()). Test cases here. | ||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
Latest revision as of 05:49, 14 April 2025
| This page uses Creative Commons Licensed content from Wikipedia (view authors). |
| 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. Test cases here.
- See[Template:Pluralize from text for pluralize() usage (a wrapper around main()). Test cases here.