Modèle:Ordinal to word

 Documentation[voir] [modifier] [historique] [purger]

Utilisation

modifier
{{Ordinal to word|paramètre1|nom1param=valeur1}}

Paramètres

modifier

Description du modèle à compléter.

Paramètres du modèle[Modifier les données du modèle]

ParamètreDescriptionTypeÉtat
integer1

An integer in the range -999,999 to 999,999.

Exemple
238
Nombreobligatoire
usus

Optional. If the value is "on", the output of numbers does not include "and" to separate hundreds from smaller values, nor to separate thousands from hundreds. This accords with American usage as described at English numerals.

Booléenfacultatif
zerothzeroth

The value to use when the number is 0. Can be made empty or, for example, "seed" or "one before the first" as appropriate for the context.

Par défaut
zeroth
Chaînefacultatif
zerozero

aucune description

Inconnufacultatif
casecase

aucune description

Inconnufacultatif
adjadj

aucune description

Inconnufacultatif

Examples

modifier
{{Ordinal to word|-999999}}
{{Ordinal to word|-1001|us=on}}
{{Ordinal to word|-100}}
{{Ordinal to word|-30}}
{{Ordinal to word|0|zeroth=not a sausage}}
{{Ordinal to word|30}}
{{Ordinal to word|100}}
{{Ordinal to word|1001|us=on}}
{{Ordinal to word|999999}}

produit:

negative nine hundred ninety-nine thousand nine hundred and ninety-ninth
negative one thousand first
negative one hundredth
negative thirtieth
not a sausage 
thirtieth
one hundredth
one thousand first
nine hundred ninety-nine thousand nine hundred and ninety-ninth