Module:Age/doc: Difference between revisions

Content deleted Content added
Created page with "{{Module rating|protected}}{{High-risk}}{{Commons Import}} == Templates supported == Module:Age implements the following templates: {| class="wikitable" ! Template..."
 
 
Line 163:
 
== Spelling numbers ==
The templates that use <code>age_generic</code> can display numbers in words rather than using numerals. The result can be a [[Wikipedia:Cardinal number (linguistics)|cardinal number]] (such as "five") or an [[Wikipedia:Ordinal number (linguistics)|ordinal number]] (such as "fifth"). The first letter can be in uppercase, and US spelling of numbers can be used. Examples:
*<code><nowiki>{{age|1898|01|01|2018|02|01|format=cardinal}}</nowiki></code> → {{age|1898|01|01|2018|02|01|format=cardinal}}
*<code><nowiki>{{age|1898|01|01|2018|02|01|format=cardinal_us}}</nowiki></code> → {{age|1898|01|01|2018|02|01|format=cardinal_us}}