This is the template test cases page for the sandbox of Template:Roman. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Empty
{{Roman}}
{{Roman/sandbox}}
{{Roman|}}
{{Roman/sandbox|}}
Live tests with fraction=yes
{{Roman|105.5|fraction=yes}}
CVS
{{Roman|1/7+9|fraction=yes}}
IX•ЄƧ℈»
General cases
Numbers exceeding 4999999
Input | Live | Sandbox | User:Stelio/Roman |
---|---|---|---|
5000000 | N/A | Template:Roman/sandbox | User:Stelio/Roman |
5000010 | N/A | Template:Roman/sandbox | User:Stelio/Roman |
3000000000 | N/A | Template:Roman/sandbox | User:Stelio/Roman |
Custom messages when too big
Input | Live | Sandbox | User:Stelio/Roman |
---|---|---|---|
5000010 with "too big" | too big | Template:Roman/sandbox | User:Stelio/Roman |
5000010 with "??" | ?? | Template:Roman/sandbox | User:Stelio/Roman |
Sandbox params validation
- Sandbox w/ '1000|too big': Template:Roman/sandbox
- Sandbox with '1000|fraction=yes|too big': Template:Roman/sandbox
- Sandbox with '1000|too big|fraction=yes': Template:Roman/sandbox
- Sandbox w/ '4210987|too big': Template:Roman/sandbox
- Sandbox with '4210987|fraction=yes|too big': Template:Roman/sandbox
- Sandbox with '4210987|too big|fraction=yes': Template:Roman/sandbox
- Sandbox w/ '4210987.1|too big': Template:Roman/sandbox
- Sandbox with '4210987.1|fraction=yes|too big': Template:Roman/sandbox
- Sandbox with '4210987.1|too big|fraction=yes': Template:Roman/sandbox
- Sandbox w/ '5000010|too big': Template:Roman/sandbox
- Sandbox with '5000010|fraction=yes|too big': Template:Roman/sandbox
- Sandbox with '5000010|too big|fraction=yes': Template:Roman/sandbox
- Sandbox w/ '3000000000|too big': Template:Roman/sandbox
- Sandbox with '3000000000|fraction=yes|too big': Template:Roman/sandbox
- Sandbox with '3000000000|too big|fraction=yes': Template:Roman/sandbox
Decimal cases between 0 and 1
Fractional cases between 0 and 1
Negative, decimal/fractional, arithmetic, and misc corner cases
Stelio's negative handling
- -1: User:Stelio/Roman
- -1234: User:Stelio/Roman
Large arithmetic expressions
- 4999999 1727/1728
- live Lua error: Invalid number 4999999 1727/1728.
- live fraction Lua error: Invalid number 4999999 1727/1728.
- sandbox Template:Roman/sandbox
- sandbox fraction Template:Roman/sandbox
- Stelio User:Stelio/Roman
- 4999999.9999999
- live MMMMCMXCIXCMXCIX
- live fraction MMMMCMXCIXCMXCIXS:•:ЄƧƧ
Ƨ℈»»»»» - sandbox Template:Roman/sandbox
- sandbox fraction Template:Roman/sandbox
- Stelio User:Stelio/Roman
- 4999999+1727/1728
- live MMMMCMXCIXCMXCIX
- live fraction MMMMCMXCIXCMXCIXS:•:ЄƧƧ
Ƨ℈»»»»» - sandbox Template:Roman/sandbox
- sandbox fraction Template:Roman/sandbox
- Stelio User:Stelio/Roman
- 4,999,999 1727/1728
- live Lua error: Invalid number 4,999,999 1727/1728.
- live fraction Lua error: Invalid number 4,999,999 1727/1728.
- sandbox Template:Roman/sandbox
- sandbox fraction Template:Roman/sandbox
- Stelio User:Stelio/Roman
- 5000001-2
- live MMMMCMXCIXCMXCIX
- live fraction MMMMCMXCIXCMXCIX
- sandbox Template:Roman/sandbox
- sandbox fraction Template:Roman/sandbox
- Stelio User:Stelio/Roman