This is the template test cases page for the sandbox of User:Crissov/Template:Frac. 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 and parsers with these links: |
Plain text
edit( 1 / 2 ) Lorem ipsum ( 1 / 3 ) Lorem ipsum ( 2 / 3 ) Lorem ipsum ( 1 / 4 ) Lorem ipsum ( 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 )
( 1 / 2 ) Lorem ipsum ( 1 / 3 ) Lorem ipsum ( 2 / 3 ) Lorem ipsum ( 1 / 4 ) Lorem ipsum ( 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 )
( 1 / 2 ) Lorem ipsum ( 1 / 3 ) Lorem ipsum ( 2 / 3 ) Lorem ipsum ( 1 / 4 ) Lorem ipsum ( 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
editparameters | {{User:Crissov/Template:Frac}} | {{frac}} | {{fraction}} | {{sfrac}} |
---|---|---|---|---|
{{frac|1|2|3}} |
( 1 + 2 / 3 ) | 1+2⁄3 | 1+2⁄3 | 1+2/3 |
{{frac|0|1|2}} |
( 0 + 1 / 2 ) | 0+1⁄2 | 0+1⁄2 | 0+1/2 |
{{frac|1|2}} |
( 1 / 2 ) | 1⁄2 | 1⁄2 | 1/2 |
{{frac|2|2}} |
( 2 / 2 ) | 2⁄2 | 2⁄2 | 2/2 |
{{frac|3}} |
( 1 / 3 ) | 1⁄3 | 1⁄3 | 1/3 |
{{frac|1}} |
( 1 / 1 ) | 1⁄1 | 1⁄1 | 1/1 |
{{frac|0}} |
( 1 / 0 ) | 1⁄0 | 1⁄0 | 1/0 |
{{frac}} |
/ | ⁄ | ⁄ | 1/1 |
{{frac|a|b|c}} |
( a + b / c ) | a+b⁄c | a+b⁄c | a+b/c |
{{frac|a|b}} |
( a / b ) | a⁄b | a⁄b | a/b |
{{frac|c}} |
( 1 / c ) | 1⁄c | 1⁄c | 1/c |
{{frac|1|2.3}} |
( 1 / 2.3 ) | 1⁄2.3 | 1⁄2.3 | 1/2.3 |
{{frac|1.2|3}} |
( 1.2 / 3 ) | 1.2⁄3 | 1.2⁄3 | 1.2/3 |
{{frac|1.2}} |
( 1 / 1.2 ) | 1⁄1.2 | 1⁄1.2 | 1/1.2 |
{{frac|1|2|_=3}} |
( 1 / 2 ) | 1⁄2 | 1⁄2 | 1/2 |
{{frac|1|_=2}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