Difference between revisions of "Template:1/2/doc"

From blackwiki
< Template:1‎ | 2
Jump to navigation Jump to search
blackwiki>Crissov
(Redirected page to Template:1/2/doc)
blackwiki>Crissov
(revert oops)
Line 1: Line 1:
#REDIRECT [[Template:1/2/doc]]
+
{{Documentation subpage}}
 +
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS 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 <code><nowiki>{{Frac|1|2}}</nowiki></code>.
 +
 
 +
* <code><nowiki>Bake for {{1/2}} hour.</nowiki></code>
 +
generates:
 +
* Bake for {{1/2}} hour.
 +
without requiring the use of bulky HTML markup.
 +
 
 +
Please note that this template does not handle preceding integers (or succeeding units) and the spacing in between, use {{tl|frac}} for that:
 +
 
 +
* <code><nowiki>Bake for {{frac|2|1|2}} hours.</nowiki></code>
 +
* Bake for {{frac|2|1|2}} hours.
 +
 
 +
=== See also ===
 +
*{{tl|frac}}
 +
*{{tl|Sfrac}}
 +
*{{tl|1/3}}
 +
*{{tl|2/3}}
 +
*{{tl|1/4}}
 +
*{{tl|3/4}}
 +
 
 +
<includeonly>
 +
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 +
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]
 +
[[Category:Mathematical formatting templates|{{PAGENAME}}]]
 +
</includeonly>

Revision as of 14:07, 28 December 2013

Usage

The template uses HTML markup to create a large, readable, and stacked "​12", as opposed to the often illegible "½" or horizontal "1/2". It is intended as a concise, easily-interpreted alternative to {{Frac|1|2}}.

  • Bake for {{1/2}} hour.

generates:

  • Bake for ​12 hour.

without requiring the use of bulky HTML markup.

Please note that this template does not handle preceding integers (or succeeding units) and the spacing in between, use {{frac}} for that:

See also