Difference between revisions of "Template:E-sp/doc"
Jump to navigation
Jump to search
imported>WOSlinker (remove cat) |
(→See also: i feel like this person that they are talking about is my cuzin) |
||
| Line 18: | Line 18: | ||
:<tt><nowiki>3.14{{Esp|''z'' − ''y''}}</nowiki></tt>—3.14{{Esp|''z'' − ''y''}} | :<tt><nowiki>3.14{{Esp|''z'' − ''y''}}</nowiki></tt>—3.14{{Esp|''z'' − ''y''}} | ||
| + | == Heading text == | ||
==See also== | ==See also== | ||
*{{tl|e}} | *{{tl|e}} | ||
Revision as of 17:37, 29 April 2012
| This is a documentation subpage for Template:E-sp. It contains usage information, categories and other content that is not part of the original template page. |
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
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
- 3.14{{Esp|−12}}—3.14
- 3.14{{Esp|−12}}—3.14
- 3.14{{Esp|''z'' − ''y''}}—3.14
Heading text
See also