Template:E-sp/doc

From blackwiki
< Template:E-sp
Revision as of 16:04, 1 September 2008 by imported>RussBot (Robot: changing categories due to redirect)
Jump to navigation Jump to search

Template:Template doc page viewed directly

Usage

The {{Esp}} template is intended to facilitate and make uniform scientific notation numbers. Its is a spaced version of {{e}} template. To render

3.14×10−12

instead of writing:

3.14×10<sup>−12</sup>

you can write:

3.14{{Esp|−12}}

which yields that same wikitext, and is therefore rendered the same.

Note that the parameter is text, not a number; it can include variables which can be italicized, etc. This also means that using a hyphen (-) and a minus sign (−) with negative numbers gives different results.

3.14{{Esp|-12}} 3.14×10-12
3.14{{Esp|&minus;12}} 3.14×10−12
3.14{{Esp|−12}} 3.14×10−12
3.14{{Esp|''z'' − ''y''}} 3.14×10zy

See also