Template:ordinal: Difference between revisions

From Laenkea
Jump to navigation Jump to search
(Created page with "<includeonly>{{#invoke:ordinal|ordinal}}</includeonly><noinclude>{{documentation}}Template:Templates</noinclude>")
 
No edit summary
 
Line 1: Line 1:
<includeonly>{{#invoke:ordinal|ordinal}}</includeonly><noinclude>{{documentation}}[[Template:Templates]]</noinclude>
<includeonly>{{#invoke:ordinal|ordinal}}</includeonly><noinclude>{{documentation}}[[Category:Templates]]</noinclude>

Latest revision as of 19:14, 25 February 2024

TemplateDocumentation.svg Template documentation [view] [edit] [purge]

Used to generate the appropriate ordinal suffix for a number.

|1=
The number that is being made ordinal
|sup=
Set to true with |sup=1 in order to use superscript ordinal suffix

For example:

{{ordinal|1025|sup=1}}

Generates

1025th