Difference between revisions of "Template:Armenian/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Andy M. Wang
(note, larger than 29999, blank (a "fix" for templates who pass big values))
blackwiki>Zyxw
m (add {{TemplateData header}} (via JWB))
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
{{lua|Module:Armenian}}
 
{{lua|Module:Armenian}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
 
This template converts [[Arabic numeral]]s into [[Armenian numerals]].  It currently works for any whole number between 1 and 29999.
 
This template converts [[Arabic numeral]]s into [[Armenian numerals]].  It currently works for any whole number between 1 and 29999.
  
Line 32: Line 32:
 
If given a value larger than 29999, the output is blank and returns no value.
 
If given a value larger than 29999, the output is blank and returns no value.
  
=== See also ===
+
=== TemplateData ===
 
+
{{TemplateData header}}
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
 
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
</includeonly>
 
 
 
 
<templatedata>
 
<templatedata>
 
{
 
{
Line 52: Line 46:
 
}
 
}
 
</templatedata>
 
</templatedata>
 +
 +
<includeonly>
 +
<!-- ADD CATEGORIES BELOW THIS LINE -->
 +
 +
</includeonly>

Revision as of 06:15, 24 February 2017

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}} ՐԱ

If given a value larger than 29999, the output is blank and returns no value.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Armenian

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