Template:Fraction

From Vigyanwiki
Revision as of 02:38, 14 May 2007 by Template>Crissov


This template builds nicer-looking common fractions. It takes one, two or three parameters: the optional integer (maybe signed), the optional numerator and the required denominator; in this order.

{{frac|A|B|C}}
A+BCA/B}}

-->

This template builds nicer-looking common fractions. It takes one, two or three parameters: the optional integer (maybe signed), the optional numerator and the required denominator; in this order.

{{frac|A|B|C}}
Template loop detected: Template:Frac (integer, numerator and denominator)
A<s style="display:none">+</s><small><sup>B</sup><big>⁄</big><sub>C</sub></small>
{{frac|A|B}}
Template loop detected: Template:Frac (numerator and denominator)
<small><sup>A</sup><big>⁄</big><sub>B</sub></small>
{{frac|A}}
Template loop detected: Template:Frac (denominator only)
<small><sup>1</sup><big>⁄</big><sub>A</sub></small>

</noinclude> (integer, numerator and denominator)

A<s style="display:none">+</s><small><sup>B</sup><big>⁄</big><sub>C</sub></small>
{{frac|A|B}}
ABA/B}}

-->

This template builds nicer-looking common fractions. It takes one, two or three parameters: the optional integer (maybe signed), the optional numerator and the required denominator; in this order.

{{frac|A|B|C}}
Template loop detected: Template:Frac (integer, numerator and denominator)
A<s style="display:none">+</s><small><sup>B</sup><big>⁄</big><sub>C</sub></small>
{{frac|A|B}}
Template loop detected: Template:Frac (numerator and denominator)
<small><sup>A</sup><big>⁄</big><sub>B</sub></small>
{{frac|A}}
Template loop detected: Template:Frac (denominator only)
<small><sup>1</sup><big>⁄</big><sub>A</sub></small>

</noinclude> (numerator and denominator)

<small><sup>A</sup><big>⁄</big><sub>B</sub></small>
{{frac|A}}
1A1/A}}

-->

This template builds nicer-looking common fractions. It takes one, two or three parameters: the optional integer (maybe signed), the optional numerator and the required denominator; in this order.

{{frac|A|B|C}}
Template loop detected: Template:Frac (integer, numerator and denominator)
A<s style="display:none">+</s><small><sup>B</sup><big>⁄</big><sub>C</sub></small>
{{frac|A|B}}
Template loop detected: Template:Frac (numerator and denominator)
<small><sup>A</sup><big>⁄</big><sub>B</sub></small>
{{frac|A}}
Template loop detected: Template:Frac (denominator only)
<small><sup>1</sup><big>⁄</big><sub>A</sub></small>

</noinclude> (denominator only)

<small><sup>1</sup><big>⁄</big><sub>A</sub></small>