Template:Roman: Difference between revisions
m 1 revision |
(No difference)
|
Latest revision as of 05:22, 8 March 2011
{{#ifeq:{{#expr: {{{1}}} > 4999999}} | 1 |N/A|{{#ifeq: {{#expr: {{{1}}} > 4999}} | 1 |Template:Overline|}}{{#switch:{{#expr: ({{{1}}} div 1000) mod 5}}|0=|4=MMMM|3=MMM|2=MM|1=M}}{{#switch:{{#expr: ({{{1}}} div 100) mod 10}}|0=|9=CM|8=DCCC|7=DCC|6=DC|5=D|4=CD|3=CCC|2=CC|1=C}}{{#switch:{{#expr: ({{{1}}} div 10) mod 10}}|0=|9=XC|8=LXXX|7=LXX|6=LX|5=L|4=XL|3=XXX|2=XX|1=X}}{{#switch:{{#expr: {{{1}}} mod 10}}|0=|9=IX|8=VIII|7=VII|6=VI|5=V|4=IV|3=III|2=II|1=I}}}}
{{#if:defaultnotblank|}}