Template:Fraction: Difference between revisions
From Vigyanwiki
Template>Crissov (display:none) |
Template>Crissov (documentation) |
||
| Line 1: | Line 1: | ||
{{{1}}}<small><span style="display:none">+</span><sup>{{{2}}}</sup><big>⁄</big><sub>{{{3}}}</sub></small> | {{{1}}}<small><span style="display:none">+</span><sup>{{{2}}}</sup><big>⁄</big><sub>{{{3}}}</sub></small><noinclude> | ||
This template builds nicer looking common fractions, sample: 1<small><span style="display:none">+</span><sup>2</sup><big>⁄</big><sub>3</sub></small>. It takes three parameters: The integer (optionally with leading <code>&minus;</code>), the numerator and the denominator. If your fraction is between zero and one you probably want to use <code>{{[[Template:Frac0|frac0]]}}</code> instead. | |||
</noinclude> | |||
Revision as of 04:42, 18 March 2006
{{{1}}}{{{2}}}⁄{{{3}}}
This template builds nicer looking common fractions, sample: 12⁄3. It takes three parameters: The integer (optionally with leading −), the numerator and the denominator. If your fraction is between zero and one you probably want to use {{frac0}} instead.