Module:Detect singular/doc

From TSP Encyclopedia
Revision as of 14:22, 2 July 2022 by UPRAN (talk | contribs) (Created page with "<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> {{high use}} {{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. <code><nowiki>{{#invoke:Detect singular|pluralize|Wynken, Blynken, and Nod||singular|plural}}</nowiki></code> → {{#invoke:Detect si...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is the documentation page for Module:Detect singular

Template:High use

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