Jump to content

Module:Detect singular/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
mark as high use
 
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

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