A template for superiour letters, i.e.

1{{superiour|st}} produces: 1st

See also

edit