Template:E/doc

From The Sonic Eats Rings Museum
< Template:E
Revision as of 23:00, 3 December 2008 by SoNick (talk | contribs) (New page: <includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> == Usage == Th...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:E (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage[edit]

The {{e}} template is intended to facilitate and make uniform scientific notation numbers. To render

3.14×10−12

instead of writing:

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

you can write:

3.14{{subst:e|−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{{subst:e|-12}} 3.14×10-12
3.14{{subst:e|&minus;12}} 3.14×10−12
3.14{{subst:e|−12}} 3.14×10−12
3.14{{subst:e|''z'' − ''y''}} 3.14×10zy

See also[edit]