模块:Detect singular/doc:修订间差异

来自悠日計画 維基百科 ~ Yuuni Wiki
mark as high use
 
导入1个版本
 
(没有差异)

2022年9月18日 (日) 22:19的最新版本

<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