Template:Fraction/testcases
From IDU Wiki
Jump to navigationJump to search
| File:Gnome-applications-science.svg | This is the template test cases page for the sandbox of Template:Fraction. 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: |
Plain text[edit source]
- Sandbox: 1⁄1 1⁄1 1⁄2 2⁄2 1⁄3 2⁄3 1⁄4 3⁄4 1⁄5 2⁄5 3⁄5 4⁄5 1⁄6 5⁄6 1⁄7 2⁄7 3⁄7 4⁄7 5⁄7 6⁄7 1⁄8 3⁄8 5⁄8 7⁄8 1⁄16 3⁄16 5⁄16 7⁄16 9⁄16 11⁄16 13⁄16 15⁄16 123⁄456789 123456⁄789
- Live: 1⁄1 1⁄1 1⁄2 2⁄2 1⁄3 2⁄3 1⁄4 3⁄4 1⁄5 2⁄5 3⁄5 4⁄5 1⁄6 5⁄6 1⁄7 2⁄7 3⁄7 4⁄7 5⁄7 6⁄7 1⁄8 3⁄8 5⁄8 7⁄8 1⁄16 3⁄16 5⁄16 7⁄16 9⁄16 11⁄16 13⁄16 15⁄16 123⁄456789 123456⁄789
In {{math}}[edit source]
- Sandbox: Template:Math
- Live: Template:Math
In {{bigmath}}[edit source]
- Sandbox: Template:Bigmath
- Live: Template:Bigmath
In .stacked[edit source]
- Sandbox: 1⁄1 1⁄1 1⁄2 2⁄2 1⁄3 2⁄3 1⁄4 3⁄4 1⁄5 2⁄5 3⁄5 4⁄5 1⁄6 5⁄6 1⁄7 2⁄7 3⁄7 4⁄7 5⁄7 6⁄7 1⁄8 3⁄8 5⁄8 7⁄8 1⁄16 3⁄16 5⁄16 7⁄16 9⁄16 11⁄16 13⁄16 15⁄16 123⁄456789 123456⁄789
- Live: 1⁄1 1⁄1 1⁄2 2⁄2 1⁄3 2⁄3 1⁄4 3⁄4 1⁄5 2⁄5 3⁄5 4⁄5 1⁄6 5⁄6 1⁄7 2⁄7 3⁄7 4⁄7 5⁄7 6⁄7 1⁄8 3⁄8 5⁄8 7⁄8 1⁄16 3⁄16 5⁄16 7⁄16 9⁄16 11⁄16 13⁄16 15⁄16 123⁄456789 123456⁄789
In .vulgar[edit source]
- Sandbox: 1⁄1 1⁄1 1⁄2 2⁄2 1⁄3 2⁄3 1⁄4 3⁄4 1⁄5 2⁄5 3⁄5 4⁄5 1⁄6 5⁄6 1⁄7 2⁄7 3⁄7 4⁄7 5⁄7 6⁄7 1⁄8 3⁄8 5⁄8 7⁄8 1⁄16 3⁄16 5⁄16 7⁄16 9⁄16 11⁄16 13⁄16 15⁄16 123⁄456789 123456⁄789
- Live: 1⁄1 1⁄1 1⁄2 2⁄2 1⁄3 2⁄3 1⁄4 3⁄4 1⁄5 2⁄5 3⁄5 4⁄5 1⁄6 5⁄6 1⁄7 2⁄7 3⁄7 4⁄7 5⁄7 6⁄7 1⁄8 3⁄8 5⁄8 7⁄8 1⁄16 3⁄16 5⁄16 7⁄16 9⁄16 11⁄16 13⁄16 15⁄16 123⁄456789 123456⁄789
In .fancy[edit source]
- Sandbox: 1⁄1 1⁄1 1⁄2 2⁄2 1⁄3 2⁄3 1⁄4 3⁄4 1⁄5 2⁄5 3⁄5 4⁄5 1⁄6 5⁄6 1⁄7 2⁄7 3⁄7 4⁄7 5⁄7 6⁄7 1⁄8 3⁄8 5⁄8 7⁄8 1⁄16 3⁄16 5⁄16 7⁄16 9⁄16 11⁄16 13⁄16 15⁄16 123⁄456789 123456⁄789
- Live: 1⁄1 1⁄1 1⁄2 2⁄2 1⁄3 2⁄3 1⁄4 3⁄4 1⁄5 2⁄5 3⁄5 4⁄5 1⁄6 5⁄6 1⁄7 2⁄7 3⁄7 4⁄7 5⁄7 6⁄7 1⁄8 3⁄8 5⁄8 7⁄8 1⁄16 3⁄16 5⁄16 7⁄16 9⁄16 11⁄16 13⁄16 15⁄16 123⁄456789 123456⁄789
In .math[edit source]
- Sandbox: 1⁄1 1⁄1 1⁄2 2⁄2 1⁄3 2⁄3 1⁄4 3⁄4 1⁄5 2⁄5 3⁄5 4⁄5 1⁄6 5⁄6 1⁄7 2⁄7 3⁄7 4⁄7 5⁄7 6⁄7 1⁄8 3⁄8 5⁄8 7⁄8 1⁄16 3⁄16 5⁄16 7⁄16 9⁄16 11⁄16 13⁄16 15⁄16 123⁄456789 123456⁄789
- Live: 1⁄1 1⁄1 1⁄2 2⁄2 1⁄3 2⁄3 1⁄4 3⁄4 1⁄5 2⁄5 3⁄5 4⁄5 1⁄6 5⁄6 1⁄7 2⁄7 3⁄7 4⁄7 5⁄7 6⁄7 1⁄8 3⁄8 5⁄8 7⁄8 1⁄16 3⁄16 5⁄16 7⁄16 9⁄16 11⁄16 13⁄16 15⁄16 123⁄456789 123456⁄789
In .fancy.stacked[edit source]
- Sandbox: 1⁄1 1⁄1 1⁄2 2⁄2 1⁄3 2⁄3 1⁄4 3⁄4 1⁄5 2⁄5 3⁄5 4⁄5 1⁄6 5⁄6 1⁄7 2⁄7 3⁄7 4⁄7 5⁄7 6⁄7 1⁄8 3⁄8 5⁄8 7⁄8 1⁄16 3⁄16 5⁄16 7⁄16 9⁄16 11⁄16 13⁄16 15⁄16 123⁄456789 123456⁄789
- Live: 1⁄1 1⁄1 1⁄2 2⁄2 1⁄3 2⁄3 1⁄4 3⁄4 1⁄5 2⁄5 3⁄5 4⁄5 1⁄6 5⁄6 1⁄7 2⁄7 3⁄7 4⁄7 5⁄7 6⁄7 1⁄8 3⁄8 5⁄8 7⁄8 1⁄16 3⁄16 5⁄16 7⁄16 9⁄16 11⁄16 13⁄16 15⁄16 123⁄456789 123456⁄789
In .fancy.vulgar[edit source]
- Sandbox: 1⁄1 1⁄1 1⁄2 2⁄2 1⁄3 2⁄3 1⁄4 3⁄4 1⁄5 2⁄5 3⁄5 4⁄5 1⁄6 5⁄6 1⁄7 2⁄7 3⁄7 4⁄7 5⁄7 6⁄7 1⁄8 3⁄8 5⁄8 7⁄8 1⁄16 3⁄16 5⁄16 7⁄16 9⁄16 11⁄16 13⁄16 15⁄16 123⁄456789 123456⁄789
- Live: 1⁄1 1⁄1 1⁄2 2⁄2 1⁄3 2⁄3 1⁄4 3⁄4 1⁄5 2⁄5 3⁄5 4⁄5 1⁄6 5⁄6 1⁄7 2⁄7 3⁄7 4⁄7 5⁄7 6⁄7 1⁄8 3⁄8 5⁄8 7⁄8 1⁄16 3⁄16 5⁄16 7⁄16 9⁄16 11⁄16 13⁄16 15⁄16 123⁄456789 123456⁄789
Parameter test[edit source]
| {{Fraction}} | {{Fraction/sandbox}} | {{fraction}} | {{sfrac}} |
|---|---|---|---|
| 1+2⁄3 | 1+2⁄3 | 1+2⁄3 | Error: expandTemplate: template "sfrac" does not exist |
| {{Fraction}} | {{Fraction/sandbox}} | {{fraction}} | {{sfrac}} |
|---|---|---|---|
| 1+2⁄3 | 1+2⁄3 | 1+2⁄3 | Error: expandTemplate: template "sfrac" does not exist |
| {{Fraction}} | {{Fraction/sandbox}} | {{fraction}} | {{sfrac}} |
|---|---|---|---|
| 1+2⁄3 | 1+2⁄3 | 1+2⁄3 | Error: expandTemplate: template "sfrac" does not exist |
| {{Fraction}} | {{Fraction/sandbox}} | {{fraction}} | {{sfrac}} |
|---|---|---|---|
| 1+2⁄3 | 1+2⁄3 | 1+2⁄3 | Error: expandTemplate: template "sfrac" does not exist |
| {{Fraction}} | {{Fraction/sandbox}} | {{fraction}} | {{sfrac}} |
|---|---|---|---|
| 1+2⁄3 | 1+2⁄3 | 1+2⁄3 | Error: expandTemplate: template "sfrac" does not exist |
| {{Fraction}} | {{Fraction/sandbox}} | {{fraction}} | {{sfrac}} |
|---|---|---|---|
| 1+2⁄3 | 1+2⁄3 | 1+2⁄3 | Error: expandTemplate: template "sfrac" does not exist |
| {{Fraction}} | {{Fraction/sandbox}} | {{fraction}} | {{sfrac}} |
|---|---|---|---|
| 1+2⁄3 | 1+2⁄3 | 1+2⁄3 | Error: expandTemplate: template "sfrac" does not exist |
| {{Fraction}} | {{Fraction/sandbox}} | {{fraction}} | {{sfrac}} |
|---|---|---|---|
| 1+2⁄3 | 1+2⁄3 | 1+2⁄3 | Error: expandTemplate: template "sfrac" does not exist |
| parameters | {{fraction/sandbox}} | {{frac}} | {{fraction}} | {{sfrac}} |
|---|---|---|---|---|
{{fraction|1|2|3}} |
1+2⁄3 | 1+2⁄3 | 1+2⁄3 | Template:Sfrac |
{{fraction|0|1|2}} |
0+1⁄2 | 0+1⁄2 | 0+1⁄2 | Template:Sfrac |
{{fraction|1|2}} |
1⁄2 | 1⁄2 | 1⁄2 | Template:Sfrac |
{{fraction|2|2}} |
2⁄2 | 2⁄2 | 2⁄2 | Template:Sfrac |
{{fraction|3}} |
1⁄3 | 1⁄3 | 1⁄3 | Template:Sfrac |
{{fraction|1}} |
1⁄1 | 1⁄1 | 1⁄1 | Template:Sfrac |
{{fraction|0}} |
1⁄0 | 1⁄0 | 1⁄0 | Template:Sfrac |
{{frac}} |
⁄ | Template:Frac | ⁄ | Template:Sfrac |
{{fraction|a|b|c}} |
a+b⁄c | a+b⁄c | a+b⁄c | Template:Sfrac |
{{fraction|a|b}} |
a⁄b | a⁄b | a⁄b | Template:Sfrac |
{{fraction|c}} |
1⁄c | 1⁄c | 1⁄c | Template:Sfrac |
{{fraction|1|2.3}} |
1⁄2.3 | 1⁄2.3 | 1⁄2.3 | Template:Sfrac |
{{fraction|1.2|3}} |
1.2⁄3 | 1.2⁄3 | 1.2⁄3 | Template:Sfrac |
{{fraction|1.2}} |
1⁄1.2 | 1⁄1.2 | 1⁄1.2 | Template:Sfrac |
{{fraction|1|2|_=3}} |
1⁄2 | 1⁄2 | 1⁄2 | Template:Sfrac |
{{fraction|1|_=2}} |
1⁄1 | 1⁄1 | 1⁄1 | Template:Sfrac |
{{fraction|_=1}} |
⁄ | ⁄ | ⁄ | Template:Sfrac |
{{fraction|2=1}} |
{{{1}}}⁄1 | {{{1}}}⁄1 | {{{1}}}⁄1 | Template:Sfrac |
{{fraction|3=1}} |
{{{1}}}+{{{2}}}⁄1 | {{{1}}}+{{{2}}}⁄1 | {{{1}}}+{{{2}}}⁄1 | Template:Sfrac |
{{fraction|2=1|3=2}} |
{{{1}}}+1⁄2 | {{{1}}}+1⁄2 | {{{1}}}+1⁄2 | Template:Sfrac |
{{fraction|1|3=2}} |
1+{{{2}}}⁄2 | 1+{{{2}}}⁄2 | 1+{{{2}}}⁄2 | Template:Sfrac |
{{fraction|1|2345|6789|fmt}} |
1+2345⁄6789 | 1+2345⁄6789 | 1+2345⁄6789 | Template:Sfrac |
{{fraction|1|2345|6789|gaps}} |
1+2345⁄6789 | 1+2345⁄6789 | 1+2345⁄6789 | Template:Sfrac |
{{fraction|1|2345|6789|commas}} |
1+2345⁄6789 | 1+2345⁄6789 | 1+2345⁄6789 | Template:Sfrac |
{{fraction|1234|6789|fmt=gaps}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{fraction|1234|6789|fmt=gaps5}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{fraction|1234|6789|fmt=commas}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{fraction|1234|6789|fmt=}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{fraction|1234|6789|fmt= }} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{fraction|1234|6789|fmt=}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{fraction|1234|6789|fmt=_}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{fraction|1234|6789|fmt=,}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{fraction|1234|6789|fmt=;}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{fraction|1234|6789|fmt=.}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{fraction|1234|6789|fmt='}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{fraction|1234|6789|fmt=’}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{fraction|1234|6789|fmt=!}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |