Template:Frac/testcases
Jump to navigation
Jump to search
In
In
In
In
In
In
This is the template test cases page for the sandbox of Template:Frac. Script error: No such module "Purge". 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: |
Contents
Plain text
- 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}}
- 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 {{bigmath}}
- 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 .stacked
- 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
- 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
- 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
- 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
- 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
- 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
Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table
parameters | {{frac/sandbox}} | {{frac}} | {{fraction}} | {{sfrac}} |
---|---|---|---|---|
{{frac|1|2|3}} |
1+2⁄3 | 1Page Template:Screen reader-only/styles.css has no content. 2⁄3 | 1Page Template:Screen reader-only/styles.css has no content. 2⁄3 | Template:Sfrac |
{{frac|0|1|2}} |
0+1⁄2 | 0Page Template:Screen reader-only/styles.css has no content. 1⁄2 | 0Page Template:Screen reader-only/styles.css has no content. 1⁄2 | Template:Sfrac |
{{frac|1|2}} |
1⁄2 | 1⁄2 | 1⁄2 | Template:Sfrac |
{{frac|2|2}} |
2⁄2 | 2⁄2 | 2⁄2 | Template:Sfrac |
{{frac|3}} |
1⁄3 | 1⁄3 | 1⁄3 | Template:Sfrac |
{{frac|1}} |
1⁄1 | 1⁄1 | 1⁄1 | Template:Sfrac |
{{frac|0}} |
1⁄0 | 1⁄0 | 1⁄0 | Template:Sfrac |
{{frac}} |
⁄ | ⁄ | ⁄ | Template:Sfrac |
{{frac|a|b|c}} |
a+b⁄c | aPage Template:Screen reader-only/styles.css has no content. b⁄c | aPage Template:Screen reader-only/styles.css has no content. b⁄c | Template:Sfrac |
{{frac|a|b}} |
a⁄b | a⁄b | a⁄b | Template:Sfrac |
{{frac|c}} |
1⁄c | 1⁄c | 1⁄c | Template:Sfrac |
{{frac|1|2.3}} |
1⁄2.3 | 1⁄2.3 | 1⁄2.3 | Template:Sfrac |
{{frac|1.2|3}} |
1.2⁄3 | 1.2⁄3 | 1.2⁄3 | Template:Sfrac |
{{frac|1.2}} |
1⁄1.2 | 1⁄1.2 | 1⁄1.2 | Template:Sfrac |
{{frac|1|2|_=3}} |
1⁄2 | 1⁄2 | 1⁄2 | Template:Sfrac |
{{frac|1|_=2}} |
1⁄1 | 1⁄1 | 1⁄1 | Template:Sfrac |
{{frac|_=1}} |
⁄ | ⁄ | ⁄ | Template:Sfrac |
{{frac|2=1}} |
{{{1}}}⁄1 | {{{1}}}⁄1 | {{{1}}}⁄1 | Template:Sfrac |
{{frac|3=1}} |
{{{1}}}+{{{2}}}⁄1 | {{{1}}}Page Template:Screen reader-only/styles.css has no content. {{{2}}}⁄1 | {{{1}}}Page Template:Screen reader-only/styles.css has no content. {{{2}}}⁄1 | Template:Sfrac |
{{frac|2=1|3=2}} |
{{{1}}}+1⁄2 | {{{1}}}Page Template:Screen reader-only/styles.css has no content. 1⁄2 | {{{1}}}Page Template:Screen reader-only/styles.css has no content. 1⁄2 | Template:Sfrac |
{{frac|1|3=2}} |
1+{{{2}}}⁄2 | 1Page Template:Screen reader-only/styles.css has no content. {{{2}}}⁄2 | 1Page Template:Screen reader-only/styles.css has no content. {{{2}}}⁄2 | Template:Sfrac |
{{frac|1|2345|6789|fmt}} |
1+2345⁄6789 | 1Page Template:Screen reader-only/styles.css has no content. 2345⁄6789 | 1Page Template:Screen reader-only/styles.css has no content. 2345⁄6789 | Template:Sfrac |
{{frac|1|2345|6789|gaps}} |
1+2345⁄6789 | 1Page Template:Screen reader-only/styles.css has no content. 2345⁄6789 | 1Page Template:Screen reader-only/styles.css has no content. 2345⁄6789 | Template:Sfrac |
{{frac|1|2345|6789|commas}} |
1+2345⁄6789 | 1Page Template:Screen reader-only/styles.css has no content. 2345⁄6789 | 1Page Template:Screen reader-only/styles.css has no content. 2345⁄6789 | Template:Sfrac |
{{frac|1234|6789|fmt=gaps}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{frac|1234|6789|fmt=gaps5}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{frac|1234|6789|fmt=commas}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{frac|1234|6789|fmt=}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{frac|1234|6789|fmt= }} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{frac|1234|6789|fmt=}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{frac|1234|6789|fmt=_}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{frac|1234|6789|fmt=,}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{frac|1234|6789|fmt=;}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{frac|1234|6789|fmt=.}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{frac|1234|6789|fmt='}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{frac|1234|6789|fmt=’}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |
{{frac|1234|6789|fmt=!}} |
1234⁄6789 | 1234⁄6789 | 1234⁄6789 | Template:Sfrac |