Module:Detect singular/doc

From SPCodex, The Smashing Pumpkins wiki
Revision as of 05:39, 20 April 2022 by w>Hike395 (mark as high use)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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