Module:Spellnum per MOS/doc

MyWikiBiz, Author Your Legacy — Friday April 19, 2024
< Module:Spellnum per MOS
Revision as of 06:05, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This is the documentation page for Module:Spellnum per MOS

{{Module rating }}

Usage

Implements Template:Spellnum per MOS.

{{#invoke:Spellnum per MOS|main|number to format|if second arg equals 1, prefer numerals}}

For use by other Lua modules:

<syntaxhighlight lang="lua"> local spellnum = require('Module:Spellnum per MOS').spellnum spellnum{ 11 } -- returns 'eleven' </syntaxhighlight>