Template:DaySuffix/doc

From Fallen London Wiki (Staging)

Interprets the input as a day of the month (such as an output of {{#time:j}}) and outputs the ordinal suffix (st, nd, rd or th). Examples:

  1. st
  2. nd
  3. rd
  4. th
  5. th
  6. th
  7. th
  8. th
  9. th
  10. th
  11. th
  12. th
  13. th
  14. th
  15. th
  16. th
  17. th
  18. th
  19. th
  20. th
  21. st
  22. nd
  23. rd
  24. th
  25. th
  26. th
  27. th
  28. th
  29. th
  30. th
  31. st

Interprets the input as a day of the month and outputs the st,n d, rd or th suffix

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

The number to be interpreted

Numberrequired