Šablon:Roman/dok
Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
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 | Rimski Numerals |
---|---|---|
1 | {{Римски|1}} | Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted |
2 | {{Римски|2}} | Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted |
49 | {{Римски|49}} | Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted |
50 | {{Римски|50}} | Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted |
51 | {{Римски|51}} | Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted |
1024 | {{Римски|1024}} | Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted |
4999 | {{Римски|4999}} | Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted |
5000 | {{Римски|5000}} | Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted |
5001 | {{Римски|5001}} | Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted |
1048576 | {{Римски|1048576}} | Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted |
7654321 | {{Римски|7654321}} | Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted |
7654321 | {{Римски|7654321|too high}} | Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted |
TemplateData
TemplateData za Roman
Ovaj šablon se koristi za prebacivanje brojeva u rimsku varijantu.
Parametar | Opis | Vrsta | Status | |
---|---|---|---|---|
Broj | 1 | Broj koji će biti prebačen u rimski broj.
| broj | obavezno |
Poruka | 2 | Poruka koja će biti prikazana za brojeve koji su preveliki za prikazivanje u rimskoj varijanti (najveći mogući broj je 4999999). | tekst | neobavezno |
See also
Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted