Template:Roman
Jump to navigation
Jump to search
Roman Module Error: missing value
This documentation is transcluded from Template:Roman/doc.
Uses Lua: |
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 0 and 4,999,999,999.
Usage
{{Roman |1= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | number to display in Roman numerals. Should be a positive or null integer (with Arabo-European Latin digits) lower than 5,000,000,000 (otherwise the number will be returned as is). | empty | required |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Relies on:
Module:Roman
See also
- m:Help:Extension:ParserFunctions: {{#time}} function can handle numbers up to 3000
Examples
Arabic numeral | Template call | Roman numeral result |
---|---|---|
0 | {{Roman|0}} |
N |
1 | {{Roman|1}} |
I |
2 | {{Roman|2}} |
II |
3 | {{Roman|3}} |
III |
4 | {{Roman|4}} |
IV |
5 | {{Roman|5}} |
V |
6 | {{Roman|6}} |
VI |
7 | {{Roman|7}} |
VII |
8 | {{Roman|8}} |
VIII |
9 | {{Roman|9}} |
IX |
10 | {{Roman|10}} |
X |
11 | {{Roman|11}} |
XI |
14 | {{Roman|14}} |
XIV |
15 | {{Roman|15}} |
XV |
16 | {{Roman|16}} |
XVI |
18 | {{Roman|18}} |
XVIII |
19 | {{Roman|19}} |
XIX |
20 | {{Roman|20}} |
XX |
40 | {{Roman|40}} |
XL |
48 | {{Roman|48}} |
XLVIII |
49 | {{Roman|49}} |
XLIX |
50 | {{Roman|50}} |
L |
51 | {{Roman|51}} |
LI |
60 | {{Roman|60}} |
LX |
88 | {{Roman|88}} |
LXXXVIII |
89 | {{Roman|89}} |
LXXXIX |
90 | {{Roman|90}} |
XC |
100 | {{Roman|100}} |
C |
200 | {{Roman|200}} |
CC |
400 | {{Roman|400}} |
CD |
500 | {{Roman|500}} |
D |
600 | {{Roman|600}} |
DC |
888 | {{Roman|888}} |
DCCCLXXXVIII |
900 | {{Roman|900}} |
CM |
999 | {{Roman|999}} |
CMXCIX |
1,000 | {{Roman|1000}} |
M |
1,024 | {{Roman|1024}} |
MXXIV |
2,000 | {{Roman|2000}} |
MM |
3,999 | {{Roman|3999}} |
MMMCMXCIX |
4,000 | {{Roman|4000}} |
I̅V̅ |
4,999 | {{Roman|4999}} |
I̅V̅CMXCIX |
5,000 | {{Roman|5000}} |
V̅ |
5,001 | {{Roman|5001}} |
V̅I |
6,000 | {{Roman|6000}} |
V̅I̅ |
8,888 | {{Roman|8888}} |
V̅I̅I̅I̅DCCCLXXXVIII |
9,000 | {{Roman|9000}} |
I̅X̅ |
9,999 | {{Roman|9999}} |
I̅X̅CMXCIX |
10,000 | {{Roman|10000}} |
X̅ |
20,000 | {{Roman|20000}} |
X̅X̅ |
39,999 | {{Roman|39999}} |
X̅X̅X̅I̅X̅CMXCIX |
40,000 | {{Roman|40000}} |
X̅L̅ |
50,000 | {{Roman|50000}} |
L̅ |
60,000 | {{Roman|60000}} |
L̅X̅ |
88,888 | {{Roman|88888}} |
L̅X̅X̅X̅V̅I̅I̅I̅DCCCLXXXVIII |
90,000 | {{Roman|90000}} |
X̅C̅ |
100,000 | {{Roman|100000}} |
C̅ |
200,000 | {{Roman|200000}} |
C̅C̅ |
399,999 | {{Roman|399999}} |
C̅C̅C̅X̅C̅I̅X̅CMXCIX |
400,000 | {{Roman|400000}} |
C̅D̅ |
500,000 | {{Roman|500000}} |
D̅ |
600,000 | {{Roman|600000}} |
D̅C̅ |
888,888 | {{Roman|888888}} |
D̅C̅C̅C̅L̅X̅X̅X̅V̅I̅I̅I̅DCCCLXXXVIII |
900,000 | {{Roman|900000}} |
C̅M̅ |
1,000,000 | {{Roman|1000000}} |
M̅ |
1,048,576 | {{Roman|1048576}} |
M̅X̅L̅V̅I̅I̅I̅DLXXVI |
3,888,888 | {{Roman|3888888}} |
M̅M̅M̅D̅C̅C̅C̅L̅X̅X̅X̅V̅I̅I̅I̅DCCCLXXXVIII |
3,999,999 | {{Roman|3999999}} |
M̅M̅M̅C̅M̅X̅C̅I̅X̅CMXCIX |
4,000,000 | {{Roman|4000000}} |
I̿V̿ |
4,888,888 | {{Roman|4888888}} |
I̿V̿D̅C̅C̅C̅L̅X̅X̅X̅V̅I̅I̅I̅DCCCLXXXVIII |
4,999,999 | {{Roman|4999999}} |
I̿V̿C̅M̅X̅C̅I̅X̅CMXCIX |
5,000,000 | {{Roman|5000000}} |
V̿ |
6,000,000 | {{Roman|6000000}} |
V̿I̿ |
8,888,888 | {{Roman|8888888}} |
V̿I̿I̿I̿D̅C̅C̅C̅L̅X̅X̅X̅V̅I̅I̅I̅DCCCLXXXVIII |
9,999,999 | {{Roman|9999999}} |
I̿X̿C̅M̅X̅C̅I̅X̅CMXCIX |
10,000,000 | {{Roman|10000000}} |
X̿ |
39,999,999 | {{Roman|39999999}} |
X̿X̿X̿I̿X̿C̅M̅X̅C̅I̅X̅CMXCIX |
40,000,000 | {{Roman|40000000}} |
X̿L̿ |
50,000,000 | {{Roman|50000000}} |
L̿ |
88,888,888 | {{Roman|88888888}} |
L̿X̿X̿X̿V̿I̿I̿I̿D̅C̅C̅C̅L̅X̅X̅X̅V̅I̅I̅I̅DCCCLXXXVIII |
90,000,000 | {{Roman|90000000}} |
X̿C̿ |
100,000,000 | {{Roman|100000000}} |
C̿ |
399,999,999 | {{Roman|399999999}} |
C̿C̿C̿X̿C̿I̿X̿C̅M̅X̅C̅I̅X̅CMXCIX |
400,000,000 | {{Roman|400000000}} |
C̿D̿ |
500,000,000 | {{Roman|500000000}} |
D̿ |
888,888,888 | {{Roman|888888888}} |
D̿C̿C̿C̿L̿X̿X̿X̿V̿I̿I̿I̿D̅C̅C̅C̅L̅X̅X̅X̅V̅I̅I̅I̅DCCCLXXXVIII |
900,000,000 | {{Roman|900000000}} |
C̿M̿ |
1,000,000,000 | {{Roman|1000000000}} |
M̿ |
3,888,888,888 | {{Roman|3888888888}} |
M̿M̿M̿D̿C̿C̿C̿L̿X̿X̿X̿V̿I̿I̿I̿D̅C̅C̅C̅L̅X̅X̅X̅V̅I̅I̅I̅DCCCLXXXVIII |
3,999,999,999 | {{Roman|3999999999}} |
M̿M̿M̿C̿M̿X̿C̿I̿X̿C̅M̅X̅C̅I̅X̅CMXCIX |
4,000,000,000 | {{Roman|4000000000}} |
M̿M̿M̿M̿ |
4,888,888,888 | {{Roman|4888888888}} |
M̿M̿M̿M̿D̿C̿C̿C̿L̿X̿X̿X̿V̿I̿I̿I̿D̅C̅C̅C̅L̅X̅X̅X̅V̅I̅I̅I̅DCCCLXXXVIII |
4,999,999,999 | {{Roman|4999999999}} |
M̿M̿M̿M̿C̿M̿X̿C̿I̿X̿C̅M̅X̅C̅I̅X̅CMXCIX |
5,000,000,000 | {{Roman|5000000000}} |
5000000000 |