Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Fraction/testcases

From Wikipedia, the free encyclopedia

Plain text

[edit]
Sandbox
11 11 12 22 13 23 14 34 15 25 35 45 16 56 17 27 37 47 57 67 18 38 58 78 116 316 516 716 916 1116 1316 1516 123456789 123456789
Live
11 11 12 22 13 23 14 34 15 25 35 45 16 56 17 27 37 47 57 67 18 38 58 78 116 316 516 716 916 1116 1316 1516 123456789 123456789

In {{math}}

[edit]
Sandbox
11 11 12 22 13 23 14 34 15 25 35 45 16 56 17 27 37 47 57 67 18 38 58 78 116 316 516 716 916 1116 1316 1516 123456789 123456789
Live
11 11 12 22 13 23 14 34 15 25 35 45 16 56 17 27 37 47 57 67 18 38 58 78 116 316 516 716 916 1116 1316 1516 123456789 123456789


In {{bigmath}}

[edit]
Sandbox
11 11 12 22 13 23 14 34 15 25 35 45 16 56 17 27 37 47 57 67 18 38 58 78 116 316 516 716 916 1116 1316 1516 123456789 123456789
Live
11 11 12 22 13 23 14 34 15 25 35 45 16 56 17 27 37 47 57 67 18 38 58 78 116 316 516 716 916 1116 1316 1516 123456789 123456789

In .stacked

[edit]
Sandbox
11 11 12 22 13 23 14 34 15 25 35 45 16 56 17 27 37 47 57 67 18 38 58 78 116 316 516 716 916 1116 1316 1516 123456789 123456789
Live
11 11 12 22 13 23 14 34 15 25 35 45 16 56 17 27 37 47 57 67 18 38 58 78 116 316 516 716 916 1116 1316 1516 123456789 123456789

In .vulgar

[edit]
Sandbox
11 11 12 22 13 23 14 34 15 25 35 45 16 56 17 27 37 47 57 67 18 38 58 78 116 316 516 716 916 1116 1316 1516 123456789 123456789
Live
11 11 12 22 13 23 14 34 15 25 35 45 16 56 17 27 37 47 57 67 18 38 58 78 116 316 516 716 916 1116 1316 1516 123456789 123456789

In .fancy

[edit]
Sandbox
11 11 12 22 13 23 14 34 15 25 35 45 16 56 17 27 37 47 57 67 18 38 58 78 116 316 516 716 916 1116 1316 1516 123456789 123456789
  • Live:
    11 11 12 22 13 23 14 34 15 25 35 45 16 56 17 27 37 47 57 67 18 38 58 78 116 316 516 716 916 1116 1316 1516 123456789 123456789

In .math

[edit]
Sandbox
11 11 12 22 13 23 14 34 15 25 35 45 16 56 17 27 37 47 57 67 18 38 58 78 116 316 516 716 916 1116 1316 1516 123456789 123456789
Live
11 11 12 22 13 23 14 34 15 25 35 45 16 56 17 27 37 47 57 67 18 38 58 78 116 316 516 716 916 1116 1316 1516 123456789 123456789

In .fancy.stacked

[edit]
Sandbox
11 11 12 22 13 23 14 34 15 25 35 45 16 56 17 27 37 47 57 67 18 38 58 78 116 316 516 716 916 1116 1316 1516 123456789 123456789
Live
11 11 12 22 13 23 14 34 15 25 35 45 16 56 17 27 37 47 57 67 18 38 58 78 116 316 516 716 916 1116 1316 1516 123456789 123456789

In .fancy.vulgar

[edit]
Sandbox
11 11 12 22 13 23 14 34 15 25 35 45 16 56 17 27 37 47 57 67 18 38 58 78 116 316 516 716 916 1116 1316 1516 123456789 123456789
Live
11 11 12 22 13 23 14 34 15 25 35 45 16 56 17 27 37 47 57 67 18 38 58 78 116 316 516 716 916 1116 1316 1516 123456789 123456789

Parameter test

[edit]
Side by side comparison
{{Fraction}}{{Fraction/sandbox}}{{fraction}}{{sfrac}}
1+23 1+23 1+23 1+2/3
Side by side comparison
{{Fraction}}{{Fraction/sandbox}}{{fraction}}{{sfrac}}
1+23 1+23 1+23 1+2/3
Side by side comparison
{{Fraction}}{{Fraction/sandbox}}{{fraction}}{{sfrac}}
1+23 1+23 1+23 1+2/3
Side by side comparison
{{Fraction}}{{Fraction/sandbox}}{{fraction}}{{sfrac}}
1+23 1+23 1+23 1+2/3
Side by side comparison
{{Fraction}}{{Fraction/sandbox}}{{fraction}}{{sfrac}}
1+23 1+23 1+23 1+2/3
Side by side comparison
{{Fraction}}{{Fraction/sandbox}}{{fraction}}{{sfrac}}
1+23 1+23 1+23 1+2/3
Side by side comparison
{{Fraction}}{{Fraction/sandbox}}{{fraction}}{{sfrac}}
1+23 1+23 1+23 1+2/3
Side by side comparison
{{Fraction}}{{Fraction/sandbox}}{{fraction}}{{sfrac}}
1+23 1+23 1+23 1+2/3
comparison with legacy templates
parameters{{fraction/sandbox}}{{frac}}{{fraction}}{{sfrac}}
{{fraction|1|2|3}}1+231+231+231+2/3
{{fraction|0|1|2}}0+120+120+120+1/2
{{fraction|1|2}}1212121/2
{{fraction|2|2}}2222222/2
{{fraction|3}}1313131/3
{{fraction|1}}1111111/1
{{fraction|0}}1010101/0
{{frac}}1/1
{{fraction|a|b|c}}a+bca+bca+bca+b/c
{{fraction|a|b}}abababa/b
{{fraction|c}}1c1c1c1/c
{{fraction|1|2.3}}12.312.312.31/2.3
{{fraction|1.2|3}}1.231.231.231.2/3
{{fraction|1.2}}11.211.211.21/1.2
{{fraction|1|2|_=3}}1212121/2
{{fraction|1|_=2}}1111111/1
{{fraction|_=1}}1/1
{{fraction|2=1}}{{{1}}}1{{{1}}}1{{{1}}}1{{{1}}}/1
{{fraction|3=1}}{{{1}}}+{{{2}}}1{{{1}}}+{{{2}}}1{{{1}}}+{{{2}}}1{{{1}}}+{{{2}}}/1
{{fraction|2=1|3=2}}{{{1}}}+12{{{1}}}+12{{{1}}}+12{{{1}}}+1/2
{{fraction|1|3=2}}1+{{{2}}}21+{{{2}}}21+{{{2}}}21+{{{2}}}/2
{{fraction|1|2345|6789|fmt}}1+234567891+234567891+234567891+2345/6789
{{fraction|1|2345|6789|gaps}}1+234567891+234567891+234567891+2345/6789
{{fraction|1|2345|6789|commas}}1+234567891+234567891+234567891+2345/6789
{{fraction|1234|6789|fmt=gaps}}1234678912346789123467891234/6789
{{fraction|1234|6789|fmt=gaps5}}1234678912346789123467891234/6789
{{fraction|1234|6789|fmt=commas}}1234678912346789123467891234/6789
{{fraction|1234|6789|fmt=}}1234678912346789123467891234/6789
{{fraction|1234|6789|fmt= }}1234678912346789123467891234/6789
{{fraction|1234|6789|fmt=}}1234678912346789123467891234/6789
{{fraction|1234|6789|fmt=_}}1234678912346789123467891234/6789
{{fraction|1234|6789|fmt=,}}1234678912346789123467891234/6789
{{fraction|1234|6789|fmt=;}}1234678912346789123467891234/6789
{{fraction|1234|6789|fmt=.}}1234678912346789123467891234/6789
{{fraction|1234|6789|fmt='}}1234678912346789123467891234/6789
{{fraction|1234|6789|fmt=’}}1234678912346789123467891234/6789
{{fraction|1234|6789|fmt=!}}1234678912346789123467891234/6789