Ҳуҷҷатгузорӣ

This template converts Arabic numerals (that is, 1, 2, 3, etc) into Roman numerals (I, II, III etc). It currently works for any whole number between 1 and 4999999.

Usage

{{Roman|number|message}}

Replace number with the number you would like to be converted to Roman numerals. For numbers higher than 4999999 the template outputs "N/A". This can be changed by replacing message with your preferred text.

Examples

Arabic Numerals Template Call Roman Numerals
1 {{Roman|1}} I
2 {{Roman|2}} II
49 {{Roman|49}} XLIX
50 {{Roman|50}} L
51 {{Roman|51}} LI
1024 {{Roman|1024}} MXXIV
4999 {{Roman|4999}} MMMMCMXCIX
5000 {{Roman|5000}} V
5001 {{Roman|5001}} VI
1048576 {{Roman|1048576}} MXLVMMMDLXXVI
7654321 {{Roman|7654321}} N/A
7654321 {{Roman|7654321|too high}} too high

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Roman

Convert numbers to Roman numerals.

Template parameters[Edit template data]

ПараметрТавзеҳотTypeStatus
Number1

The number to be converted to Roman numerals.

Numberoptional
Message2

Message to display for numbers that are too big to be displayed in Roman numerals. (The largest possible number is 4999999.)

Пешфарз
N/A
Stringoptional

See also