Template:Fraction: Difference between revisions

From Vigyanwiki
Template>Crissov
(+de:)
Template>Diverman
(Improve readability by removing small font; add space)
Line 1: Line 1:
{{{1}}}<small><span style="display:none">+</span><sup>{{{2}}}</sup><big>⁄</big><sub>{{{3}}}</sub></small><noinclude>
{{{1}}}<span style="display:none">+</span><sup>&nbsp;{{{2}}}</sup>⁄<sub>{{{3}}}</sub><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>&amp;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.
This template builds nicer looking common fractions, sample: 1<span style="display:none">+</span><sup> 2</sup>⁄<sub>3</sub>. It takes three parameters: The integer (optionally with leading <code>&amp;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.


[[de:Vorlage:Bruch]]
[[de:Vorlage:Bruch]]
</noinclude>
</noinclude>

Revision as of 08:44, 12 May 2006

{{{1}}}+ {{{2}}}{{{3}}}

This template builds nicer looking common fractions, sample: 1+ 23. It takes three parameters: The integer (optionally with leading &minus;), the numerator and the denominator. If your fraction is between zero and one you probably want to use {{frac0}} instead.