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

From blackwiki
< Template:1‎ | 3
Jump to navigation Jump to search
blackwiki>Edokter
blackwiki>Crissov
(→‎Usage: note on spacing)
Line 6: Line 6:
 
The template uses [[HTML]] markup to create a large, readable, and stacked "{{1/3}}", as opposed to the often illegible "⅓" or horizontal "1/3". It is intended as a concise, easily-interpreted alternative to <code><nowiki>{{Frac|1|3}}</nowiki></code>.
 
The template uses [[HTML]] markup to create a large, readable, and stacked "{{1/3}}", as opposed to the often illegible "⅓" or horizontal "1/3". It is intended as a concise, easily-interpreted alternative to <code><nowiki>{{Frac|1|3}}</nowiki></code>.
  
* Bake for 8<code><nowiki>{{1/3}}</nowiki></code> minutes.
+
* Bake for <code><nowiki>{{1/3}}</nowiki></code> minute.
  
 
generates:
 
generates:
  
* Bake for 8{{1/3}} minutes.
+
* Bake for {{1/3}} minute.
  
 
without requiring the use of bulky HTML markup.
 
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|8|1|3}} minutes.</nowiki></code>
 +
* Bake for {{frac|8|1|3}} minutes.
  
 
=== See also ===
 
=== See also ===

Revision as of 14:01, 28 December 2013

Usage

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

  • Bake for {{1/3}} minute.

generates:

  • Bake for ​13 minute.

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