Template:Frac: Difference between revisions
From Vigyanwiki
Template>Thesevenseas (Optimised Code) |
Template>Thesevenseas (Fixed Code) |
||
Line 48: | Line 48: | ||
|2 = {{#ifeq:{{{1}}}|1 | |2 = {{#ifeq:{{{1}}}|1 | ||
|½ | |½ | ||
|#default=<sup>{{{ | |#default=<sup>{{{1}}}</sup>⁄<sub>{{{2}}}</sub> | ||
}} | }} | ||
|3 = {{#switch:{{{1}}} | |3 = {{#switch:{{{1}}} | ||
|1=⅓ | |1=⅓ | ||
|2=⅔ | |2=⅔ | ||
|#default=<sup>{{{ | |#default=<sup>{{{1}}}</sup>⁄<sub>{{{2}}}</sub> | ||
}} | }} | ||
|4 = {{#switch:{{{1}}} | |4 = {{#switch:{{{1}}} | ||
Line 59: | Line 59: | ||
|2=½ | |2=½ | ||
|3=¾ | |3=¾ | ||
|#default=<sup>{{{ | |#default=<sup>{{{1}}}</sup>⁄<sub>{{{2}}}</sub> | ||
}} | }} | ||
|5 = {{#switch:{{{1}}} | |5 = {{#switch:{{{1}}} | ||
Line 66: | Line 66: | ||
|3=⅗ | |3=⅗ | ||
|4=⅘ | |4=⅘ | ||
|#default=<sup>{{{ | |#default=<sup>{{{1}}}</sup>⁄<sub>{{{2}}}</sub> | ||
}} | }} | ||
|6 = {{#switch:{{{1}}} | |6 = {{#switch:{{{1}}} | ||
Line 74: | Line 74: | ||
|4=⅔ | |4=⅔ | ||
|5=⅚ | |5=⅚ | ||
|#default=<sup>{{{ | |#default=<sup>{{{1}}}</sup>⁄<sub>{{{2}}}</sub> | ||
}} | }} | ||
|8 = {{#switch:{{{1}}} | |8 = {{#switch:{{{1}}} | ||
Line 84: | Line 84: | ||
|6=¾ | |6=¾ | ||
|7=⅞ | |7=⅞ | ||
|#default=<sup>{{{ | |#default=<sup>{{{1}}}</sup>⁄<sub>{{{2}}}</sub> | ||
}} | }} | ||
|#default=<sup>{{{ | |#default=<sup>{{{1}}}</sup>⁄<sub>{{{2}}}</sub> | ||
}} | }} | ||
|{{#switch:{{{1}}} | |{{#switch:{{{1}}} |
Revision as of 20:52, 2 October 2010
⅟{{{1}}}
Template documentation
[create]