Template:Ordinal to word/0 to 19/doc
From Ava Zinn Wiki
This is a documentation subpage for Template:Ordinal to word/0 to 19. It contains usage information, categories and other content that is not part of the original template page. |
Converts a natural number in the range 0 to 19 into a word representing its ordinal number in the English language.
Usage[edit]
{{Ordinal to word/0 to 19|natural[|zeroth=zeroth]}}
natural: Required. A natural number in the range 0 to 19.
zeroth: Optional. The value to use when the number is 0. Default is "zeroth". Can be made empty or, for example, "one before the first" or "seed", as appropriate for the context.
Examples[edit]
{{Ordinal to word/0 to 19|0|zeroth=seed}} {{Ordinal to word/0 to 19|5}} {{Ordinal to word/0 to 19|18}} {{Ordinal to word/0 to 19|20}} {{Ordinal to word/0 to 19|-1}}
produces:
seed fifth eighteenth{{Ordinal to word/0 to 19}}
: value "20" is not a natural number in the range 0 to 19{{Ordinal to word/0 to 19}}
: value "-1" is not a natural number in the range 0 to 19
See also[edit]
- Template:Number to word
- Template:Cardinal to word
- Template:Ordinal to word
- Template:Cardinal to word/0 to 19
- Template:Cardinal to word/0 to 99
- Template:Cardinal to word/0 to 999
- Template:Cardinal to word/0 to 999999
- Template:Ordinal to word/0 to 99
- Template:Ordinal to word/0 to 999
- Template:Ordinal to word/0 to 999999