Module:Ordinal/doc: Difference between revisions
TODO |
No edit summary |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{documentation|{{dochead|header=dualuse}} | ||
This module automatically determines the ordinal of a given number (i.e. {{nowrap|1 → first|2 → second|3 → third}}, etc.). | |||
< | On templates, you can use <code><nowiki>{{Ordinal}}</nowiki></code>. | ||
On modules, you can include <syntaxhighlight inline lang="lua">local ordinal= require("Module:Ordinal")._ordinal</syntaxhighlight>. | |||
{{module introspection}} | |||
}} | |||