Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Examples  





3 Other  





4 See also  














Template:Ordinal






Afrikaans
Anarâškielâ
Аԥсшәа
العربية

Azərbaycanca
Basa Bali

 / Bân-lâm-gú
Беларуская
Беларуская (тарашкевіца)
Беларуская (тарашкевіца)
Български
Bosanski
Буряад
Català
Dansk
الدارجة

Ελληνικά
Esperanto
فارسی
Français
Gaeilge
Gaelg
Galego



Hausa
Հայերեն
ि
Hrvatski
Ilokano
Bahasa Indonesia
Interlingua
Jawa

Kurdî
Ladin
ि
Македонски


مصرى
Bahasa Melayu
 / Mìng-dĕ̤ng-nḡ


Norfuk / Pitkern
ି


پښتو

Tok Pisin
Română

Scots

Simple English
سنڌي
Slovenščina
کوردی
Српски / srpski
ி
Татарча / tatarça
 


Тоҷикӣ
Türkçe
Українська
اردو
Vèneto
Tiếng Vit
ייִדיש
Yorùbá


 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
Wikisource
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 

(Redirected from Template:Number suffix)

{{{1}}}st

Usage

{{Ordinal|integer}}

This template will add the appropriate ordinal indicator to a given integer.

Use {{Ordinal|integer|sup=yes}} to display the ordinal suffix in superscript. Do not use superscript notation in the article space, per this section of the Manual of Style.

For an integer ending in 1, 2 or 3 (except for integers ending in 11, 12 or 13), the ordinal suffix will be -st, -nd and -rd, respectively. To display -d for the ordinal suffix rather than -nd and -rd, use {{Ordinal|integer|d}}.

This template should not be used in running prose in articles; it is intended for automated script processing of numeric data. Writing something like "in the {{ordinal|16}} century" serves no purpose, and just makes the wikicode harder to understand and edit.

Examples

Markup Renders as
{{Ordinal|101}}

101st

{{Ordinal|−102}}

−102nd

{{Ordinal|102|sup=yes}}

102nd

{{Ordinal|103}}

103rd

{{Ordinal|103|d}}

103d

{{Ordinal|first}}

firstth

{{Ordinal|47th}}

47thth

Other

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Ordinal&oldid=827462155"

Categories: 
Lua-based templates
Number templates
Numerical conversion templates
Hidden category: 
Wikipedia template-protected templates
 



This page was last edited on 24 February 2018, at 21:30 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki