Difference between revisions of "Template:E-sp/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(updates following move; moved {{for}}s to (more noticeable) <noinclude> on template page)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
== Usage ==
 
== Usage ==
  
{{tl|e-sp}}, a more spaced version of {{tl|e}}, is intended to facilitate and make uniform [[scientific notation]] numbers. <!--It should be [[WP:SUBST|substituted]].-->
+
{{tl|e-sp}}, a more padded version of {{tl|e}}, is intended to facilitate and make uniform [[scientific notation]] numbers. <!--It should be [[WP:SUBST|substituted]].-->
  
 
To render, for example,
 
To render, for example,
Line 21: Line 21:
  
 
== See also ==
 
== See also ==
 +
*{{tl|e}}
 
*{{tl|10^}}
 
*{{tl|10^}}
*{{tl|e}}
 
 
*{{tl|scinote}}
 
*{{tl|scinote}}
 +
*{{tl|Sup and sub-related templates}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
[[Category:Mathematical formatting templates]]
 
[[Category:Mathematical formatting templates]]
 
[[Category:Superscript and subscript templates]]
 
[[Category:Superscript and subscript templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 00:51, 25 April 2020

Usage

{{e-sp}}, a more padded version of {{e}}, is intended to facilitate and make uniform scientific notation numbers.

To render, for example,

3.14 × 10−12

use

3.14{{e-sp|−12}}

instead of

3.14&nbsp;×&nbsp;10<sup>−12</sup>

Note that the parameter is text, not a number; it can include variables that can be italicized, etc. This also means that using a hyphen (-) and a minus sign (−) with negative numbers gives different results: Script error: No such module "aligned table".

See also