Module:Detect singular/doc

From 2021pedia
< Module:Detect singular
Revision as of 12:19, 19 December 2022 by 223.29.231.26 (talk) (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)

This is the documentation page for Module:Detect singular

<templatestyles src="Module:Message box/ombox.css"></templatestyles> <templatestyles src="Module:Message box/ombox.css"></templatestyles>

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