Module:Detect singular/doc: Difference between revisions
Appearance
Content deleted Content added
mark as high use |
Added the page to Category:Module documentation pages |
||
Line 13: | Line 13: | ||
<!-- Categories below this line; interwikis at Wikidata --> |
<!-- Categories below this line; interwikis at Wikidata --> |
||
[[Category:Infobox modules]] |
[[Category:Infobox modules]] |
||
}}</includeonly> |
}}</includeonly><noinclude> |
||
[[Category:Module documentation pages]] |
|||
</noinclude> |
Latest revision as of 21:07, 29 August 2024
![]() | This Lua module is used on approximately 1,870,000 pages, or roughly 3% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
![]() | 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.