Шаблон:Roman/док
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 | Римски 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 за Roman
Овај шаблон се користи за пребацивање бројева у римску варијанту.
Параметар | Опис | Врста | Статус | |
---|---|---|---|---|
Број | 1 | Број који ће бити пребачен у римски број.
| број | обавезно |
Порука | 2 | Порука која ће бити приказана за бројеве који су превелики за приказивање у римској варијанти (највећи могући број је 4999999). | текст | необавезно |
See also
Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted