Difference between revisions of "Template:Cardinal"

From blackwiki
Jump to navigation Jump to search
imported>Mxn
(Imported from vi:Bản mẫu:Số đếm (14100902))
 
imported>Zzuuzz
m (Protected "Template:Cardinal": High risk template ([Edit=Require autoconfirmed or confirmed access] (indefinite)))
 
(No difference)

Latest revision as of 12:30, 20 January 2017

50px Template documentation[view] [edit] [history] [purge]

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.

Usage

See also

  • {{ordinal}}, which adds an ordinal indicator to a cardinal number