Difference between revisions of "Template:Cardinal/doc"

From blackwiki
Jump to navigation Jump to search
imported>Hyacinth
imported>The Mol Man
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{Lua|Module:String|category=Lua String-based templates}}
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
This template converts an [[Ordinal number (linguistics)|ordinal number]] into a [[Cardinal number (linguistics)|cardinal number]] by stripping the [[ordinal indicator]] off the end of the only parameter. Specifically, it removes any series of letters that immdiately follows a numeral.
 
This template converts an [[Ordinal number (linguistics)|ordinal number]] into a [[Cardinal number (linguistics)|cardinal number]] by stripping the [[ordinal indicator]] off the end of the only parameter. Specifically, it removes any series of letters that immdiately follows a numeral.
Line 17: Line 18:
 
<includeonly>
 
<includeonly>
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
[[Category:Lua String-based templates]]
 
 
[[Category:Numeric templates]]
 
[[Category:Numeric templates]]
 
</includeonly>
 
</includeonly>

Revision as of 15:27, 5 July 2014

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 immdiately follows a numeral.

Usage

See also

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