Difference between revisions of "Template:Armenian/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Mr. Stradivarius
(remove {{intricate}} - it's not actually that complicated, and this doesn't really fit anyway now that it's been ported to Lua)
blackwiki>Mr. Stradivarius
(add TemplateData)
Line 37: Line 37:
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
</includeonly>
 
</includeonly>
 +
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"type": "number",
 +
"label": "Number",
 +
"description": "The number to convert. Values less than 1 or greater than 29999 will result in blank output."
 +
}
 +
},
 +
"description": "Converts numbers into old Armenian numerals. Possible values range from 1-29999."
 +
}
 +
</templatedata>

Revision as of 15:22, 16 August 2013

This template converts Arabic numerals into Armenian numerals. It currently works for any whole number between 1 and 29999.

Usage

To use it, enter {{Armenian|YOURNUMBER}}, replacing "YOURNUMBER" with a number.

Examples of Armenian numeral conversion
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}} ՐԱ

See also

Converts numbers into old Armenian numerals. Possible values range from 1-29999.

Template parameters

ParameterDescriptionTypeStatus
Number1

The number to convert. Values less than 1 or greater than 29999 will result in blank output.

Numberoptional