Difference between revisions of "Template:1/2/doc"
< Template:1 | 2
Jump to navigation
Jump to search
blackwiki>DKqwerty m (→See also: +{{Sfrac}}) |
blackwiki>Crissov (→Usage: more complex example) |
||
| Line 5: | Line 5: | ||
The template uses [[HTML]] markup to create a large, readable, and stacked "{{1/2}}", as opposed to the often illegible "½" or horizontal "1/2". It is intended as a concise, easily-interpreted alternative to <code><nowiki>{{Frac|1|2}}</nowiki></code>. | The template uses [[HTML]] markup to create a large, readable, and stacked "{{1/2}}", as opposed to the often illegible "½" or horizontal "1/2". It is intended as a concise, easily-interpreted alternative to <code><nowiki>{{Frac|1|2}}</nowiki></code>. | ||
| − | + | {{#if:{{{1|}}}|{{frac|{{{1}}}|1|2}}|{{frac|1|2}}}} | |
| − | * | + | * <code><nowiki>Take {{1/2}} pound. Stir for 2{{1/2}} minutes. Bake for {{1/2|1}} hour.</nowiki></code> |
generates: | generates: | ||
| − | * Bake for | + | * Take {{1/2}} pound. Stir for 2{{1/2}} minutes. Bake for {{1/2|1}} hour. |
without requiring the use of bulky HTML markup. | without requiring the use of bulky HTML markup. | ||
Revision as of 13:55, 28 December 2013
| 40px | This is a documentation subpage for Template:1/2. It contains usage information, categories and other content that is not part of the original template page. |
Usage
The template uses HTML markup to create a large, readable, and stacked "1⁄2", as opposed to the often illegible "½" or horizontal "1/2". It is intended as a concise, easily-interpreted alternative to {{Frac|1|2}}.
1⁄2
Take {{1/2}} pound. Stir for 2{{1/2}} minutes. Bake for {{1/2|1}} hour.
generates:
- Take 1⁄2 pound. Stir for 21⁄2 minutes. Bake for 1⁄2 hour.
without requiring the use of bulky HTML markup.
See also