Jump to content

Module:Detect singular/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
show dependencies
oops
Line 1: Line 1:
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{Lua|Module:GetArguments|Module:Yesno|Module:Text}}
{{Lua|Module:Arguments|Module:Yesno|Module:Text}}


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.
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.

Revision as of 01:07, 10 January 2022

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