Template:Armenian/sandbox
Appearance
This is the template sandbox page for Template:Armenian (diff). See also the companion subpage for test cases. |
This template uses Lua: |
This template converts Arabic numerals into Armenian numerals. It currently works for any whole number between 1 and 29999.
Usage
[edit]To use it, enter {{Armenian|YOURNUMBER}}, replacing "YOURNUMBER" with a number.
Arabic Numerals | Template Call | Armenian Numerals |
---|---|---|
1 | {{Armenian|1}} | Ա |
2 | {{Armenian|2}} | Բ |
49 | {{Armenian|49}} | ԽԹ |
50 | {{Armenian|50}} | Ծ |
51 | {{Armenian|51}} | ԾԱ |
1024 | {{Armenian|1024}} | ՌԻԴ |
4999 | {{Armenian|4999}} | ՏՋՂԹ |
5000 | {{Armenian|5000}} | Ր |
5001 | {{Armenian|5001}} | ՐԱ |
If given a value larger than 29999, the output is blank and returns no value.
TemplateData
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Armenian in articles based on its TemplateData.
TemplateData for Armenian
Converts numbers into old Armenian numerals. Possible values range from 1-29999.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number | 1 | The number to convert. Values less than 1 or greater than 29999 will result in blank output. | Number | optional |