Module talk:Sandbox/Squc/Roman
{{#invoke:Sandbox/Squc/Roman|todecimal|mode=2|disp=\n, \t|I}}
todecimal
mode=0
Normal
- (1900)
- " M C M "
- {{#invoke:Sandbox/Squc/Roman|todecimal| M C M }}
- " MCM "
- {{#invoke:Sandbox/Squc/Roman|todecimal| MCM }}
- "MCM"
- {{#invoke:Sandbox/Squc/Roman|todecimal|MCM}}
- (2013)
- "MMXIII"
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=0|MCM}}
- (test)
- .
- {{#invoke:Sandbox/Squc/Roman|fromdecimal|mode=0|12345678901}}
- (Errors)
- "XXXXX"
- {{#invoke:Sandbox/Squc/Roman|todecimal|XXXXX}}
- "VV"
- {{#invoke:Sandbox/Squc/Roman|todecimal|VV}}
- "XM"
- {{#invoke:Sandbox/Squc/Roman|todecimal|XM}}
- "LC"
- {{#invoke:Sandbox/Squc/Roman|todecimal|LC}}
- "XXXL"
- {{#invoke:Sandbox/Squc/Roman|todecimal|XXXL}}
- "LCXXXXVV"
- {{#invoke:Sandbox/Squc/Roman|todecimal|LCXXXXVV}}
=No errors=
mode=1
Force no error
- (1900)
- " M C M "
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=1| M C M }}
- " MCM "
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=1| MCM }}
- "MCM"
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=1|MCM}}
- (2013)
- "MMXIII"
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=1|MCM}}
- (Errors)
- "XXXXX"
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=1|XXXXX}}
- "VV"
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=1|VV}}
- "XM"
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=1|XM}}
- "LC"
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=1|LC}}
- "XXXL"
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=1|XXXL}}
- "LCXXXXVV"
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=1|LCXXXXVV}}
Custom display
Can show all details
class="wikitable" | |
Escape | |
---|---|
\n | Decimal number |
\e | Error(s) |
\t | Time taken |
default: mode=2
mode=2|disp=Decimal number: \n, Errors \e, Time \t
- (1900)
- " M C M "
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=2|disp=Decimal number: \n, Errors \e, Time \t| M C M }}
- " MCM "
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=2|disp=Decimal number: \n, Errors \e, Time \t| MCM }}
- "MCM"
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=2|disp=Decimal number: \n, Errors \e, Time \t|MCM}}
- (2013)
- "MMXIII"
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=2|disp=Decimal number: \n, Errors \e, Time \t|MMXIII}}
- (Errors)
- "XXXXX"
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=2|disp=Decimal number: \n, Errors \e, Time \t|XXXXX}}
- "VV"
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=2|disp=Decimal number: \n, Errors \e, Time \t|VV}}
- "XM"
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=2|disp=Decimal number: \n, Errors \e, Time \t|XM}}
- "LC"
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=2|disp=Decimal number: \n, Errors \e, Time \t|LC}}
- "XXXL"
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=2|disp=Decimal number: \n, Errors \e, Time \t|XXXL}}
- "LCXXXXVV"
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=2|disp=Decimal number: \n, Errors \e, Time \t|LCXXXXVV}}
Default display
mode=2
- (2013)
- "MMXIII"
- {{#invoke:Sandbox/Squc/Roman|todecimal|mode=2|MMXIII}}