ढाँचा:Sfrac
१/१
| This template is used on approximately ३,७०० pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
| यो ढाँचा प्रतिस्थापित हुनु हुँदैन। |
| This template uses Lua: |
| This template uses TemplateStyles: |
This template builds an alternative form of common or mixed fractions, using a vinculum (horizontal line), for scientific and mathematical text. It takes one, two or three parameters: the optional integer (may be signed), the optional numerator and the required denominator; in this order.
{{sfrac|A|B|C}}- AB/C (integer, numerator and denominator)
{{sfrac|B|C}}- BB/C (numerator and denominator)
{{sfrac|C}}- C१/C (denominator only)
Examples
[सम्पादन गर्नुहोस्]२१/२, ३१/३, २२/३, ४१/४, ३३/४, ५१/५, २२/५, ३३/५, ४४/५, ६१/६, ५५/६, ७१/७, २२/७, ३३/७, ४४/७, ५५/७, ६६/७, ८१/८, ३३/८, ५५/८, ७७/८, १६१/१६, ३३/१६, ५५/१६, ७७/१६, ९९/१६, ११११/१६, १३१३/१६, १५१५/१६, २२२२/७, ११/१६, १६२/३,२π२π/a२b
Inside the {{math}} template (for inline math):
२१/२, ३१/३, २२/३, ४१/४, ३३/४, ५१/५, २२/५, ३३/५, ४४/५, ६१/६, ५५/६, ७१/७, २२/७, ३३/७, ४४/७, ५५/७, ६६/७, ८१/८, ३३/८, ५५/८, ७७/८, १६१/१६, ३३/१६, ५५/१६, ७७/१६, ९९/१६, ११११/१६, १३१३/१६, १५१५/१६, २२२२/७, ११/१६, १६२/३, २π'"`UNIQ--templatestyles-०००००११७-QINU`"',२π'"`UNIQ--templatestyles-०००००११७-QINU`"',/a२b
Inside the {{bigmath}} template (for standalone math):
२१/२, ३१/३, २२/३, ४१/४, ३३/४, ५१/५, २२/५, ३३/५, ४४/५, ६१/६, ५५/६, ७१/७, २२/७, ३३/७, ४४/७, ५५/७, ६६/७, ८१/८, ३३/८, ५५/८, ७७/८, १६१/१६, ३३/१६, ५५/१६, ७७/१६, ९९/१६, ११११/१६, १३१३/१६, १५१५/१६, २२२२/७, ११/१६, १६२/३, २π'"`UNIQ--templatestyles-०००००१९B-QINU`"',२π'"`UNIQ--templatestyles-०००००१९B-QINU`"',/a२b
Parameters
[सम्पादन गर्नुहोस्]TemplateData for Sfrac
A template builds an alternative form of common or mixed fractions, using a vinculum (horizontal line), for scientific and mathematical text. It supports 1–3 anonymous parameters with positional meaning.
| मापदण्ड | विवरण | प्रकार | स्थिति | |
|---|---|---|---|---|
| leftmost part | 1 | Denominator if only parameter supplied. Numerator if 2 parameters supplied. Integer if 3 parameters supplied. | रेखा | वैकल्पिक |
| middle-right part | 2 | Denominator if 2 parameters supplied. Numerator if 3 parameters supplied. | रेखा | वैकल्पिक |
| rightmost part | 3 | Denominator, always. | रेखा | वैकल्पिक |
| font size | font-size | Set customized font size. | रेखा | वैकल्पिक |
See also
[सम्पादन गर्नुहोस्]- Wikipedia:Rendering math
- {{frac}}, displays common fractions using a fraction slash
- {{BSsplit}}, for two lines of text, with formatting options
- {{BScvt}}, for two distances
- {{su}} (superscript
subscript text) – to align both b=subscript & p=superscript - {{sub}} (subscript text) – to show a subscript
- {{sup}} (superscript text) – to show a superscript
- {{sup sub}} (textsupsub) – for both 1=superscript & 2=subscript
- Help:Displaying a formula#Fractions, matrices, multilines
- Help:Convert#Fractions
- Number Forms, a Unicode block consisting primarily of vulgar fractions
- OpenType fonts feature afrc, CSS
font-variant-numeric:stacked-fractionswith little support as of 2020