Format:Roman

De la Wikipedia, enciclopedia liberă


Documentație
Documentație format
Această documentație este adusă de la pagina Format:Roman/doc.
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.

Acest format convertește cifrele arabe (1, 2, 3 etc.) în cifre romane (I, II, III etc.). Funcționează pentru numere între 1 și 4999999.

Utilizare

Introduceți {{Roman|N}}, înlocuind „N” cu un număr.

Exemple

Număr arab Sintaxă Număr roman
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