Cèṭa'an:Cardinal/doc
TemplateStyles' src
attribute must not be empty.
This is a documentation subpage for Cèṭa'an:Cardinal. It contains usage information, categories and other content that is not part of the original cèṭa'an page. |
TemplateStyles' src
attribute must not be empty.
This template uses Lua: |
This template converts an ordinal number into a cardinal number by stripping the ordinal indicator off the end of the only parameter. Specifically, it removes any series of letters that immediately follows a numeral.
This template should not be used in running prose in articles; it is intended for automated script processing of numeric data. Writing something like "on August {{cardinal|16th}}, 2004
" serves no purpose, and just makes the wikicode harder to understand and edit.
Examples
beccè'Markup | OutputSapsop Lua: expandTemplate: template "format item" does not exist. |
---|---|
See also
beccè'- {{ordinal}}, add an ordinal indicator to a cardinal number
- {{digits}}, remove all characters from a string that are not digits
- {{str number/trim}}, remove the first non-digit character and everything following