Template:1/4: Difference between revisions
From Vigyanwiki
m (Protected "Template:1/4": High-risk template or module: 299 transclusions (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite))) |
m (1 revision imported from alpha:Template:1/4) |
(2 intermediate revisions by 2 users not shown) | |
(No difference)
|
Latest revision as of 09:42, 11 February 2023
1⁄4
Usage
The templates {{1/2}}, {{1/3}}, {{2/3}}, {{1/4}} and {{3/4}} use HTML markup to create large, readable, common fractions "1⁄2, 1⁄3, 2⁄3, 1⁄4, 3⁄4", as opposed to the often illegible "½, ⅓, ⅔, ¼, ¾" or horizontal "1/2, 1/3, 2/3, 1/4, 3/4". They are intended as concise, easily interpreted alternatives to {{frac|1|2}}, {{frac|1|3}}, {{frac|2|3}}, {{frac|1|4}}, {{frac|3|4}}
.
Bake for {{1/2}} hour.
generates:
- Bake for 1⁄2 hour.
without requiring the use of bulky HTML markup.
Please note that these templates do not handle preceding integers (or succeeding units) and the spacing in between, use {{frac}} for that:
Bake for {{frac|2|1|2}} hours.
- Bake for 2+1⁄2 hours.
As with {{frac}}, these templates should not be used in science or mathematical articles.
See also
- {{frac}}
- {{sfrac}}
- Number Forms, a Unicode block consisting primarily of vulgar fractions