模块:Detect singular/doc

来自悠日計画 維基百科 ~ Yuuni Wiki
wikipedia>Hike3952022年4月20日 (三) 13:39的版本 (mark as high use)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

这是模块: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