Template:Frac: Difference between revisions
From Vigyanwiki
Template>Crissov (1/7, 1/9, 1/10 with two and three parameters) |
Template>Crissov (add {{{spell}}} parameter) |
||
Line 1: | Line 1: | ||
<abbr class="frac nowrap" style="font-variant-numeric: diagonal-fractions;border-bottom:0" title="{{#invoke:ConvertNumeric | numeral_to_english | {{#if:{{{3|}}}|{{{1|0}}}|}} | numerator={{#if:{{{3|}}}|{{{2|0}}}|{{#if:{{{2|}}}|{{{1|0}}}|1}}}} | denominator={{#if:{{{3|}}}|{{{3|1}}}|{{#if:{{{2|}}}|{{{2|1}}}|{{{1|1}}}}}}} }}">{{#if:{{{3|{{{2|}}}}}} | <abbr class="frac nowrap" style="font-variant-numeric: diagonal-fractions;border-bottom:0" title="{{{spell|{{#invoke:ConvertNumeric | numeral_to_english | {{#if:{{{3|}}}|{{{1|0}}}|}} | numerator={{#if:{{{3|}}}|{{{2|0}}}|{{#if:{{{2|}}}|{{{1|0}}}|1}}}} | denominator={{#if:{{{3|}}}|{{{3|1}}}|{{#if:{{{2|}}}|{{{2|1}}}|{{{1|1}}}}}}} }} }}}">{{#if:{{{3|{{{2|}}}}}} | ||
|{{#if: {{{3|}}} |{{{1}}} |}}{{#switch: | |{{#if: {{{3|}}} |{{{1}}} |}}{{#switch: | ||
{{#expr: {{#if: {{{3|}}} | {{{2}}}/{{{3}}} | {{{1}}}/{{{2}}} }} }} | {{#expr: {{#if: {{{3|}}} | {{{2}}}/{{{3}}} | {{{1}}}/{{{2}}} }} }} |
Revision as of 01:24, 7 January 2014
⅟x
Template documentation
[create]