Difference between revisions of "Template:E-sp"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (Sardanaphalus moved page Template:Esp to Template:E-sp: To emphasize the "E" (exponential) and remove any extra-sensory overtones)
imported>Sardanaphalus
(<noinclude>d {{for}}s from /doc page (more noticeable here) plus <includeonly>)
 
Line 1: Line 1:
&nbsp;×&nbsp;10<sup>{{{1}}}</sup><noinclude>
+
<noinclude>
{{Documentation}}</noinclude>
+
{{for|the template used to show the flag of Spain|Template:ESP}}
 +
{{for|the template used for responding to requests for edits to semi-protected pages|Template:ESp}}
 +
 
 +
</noinclude><includeonly>&nbsp;×&nbsp;10<sup>{{{1}}}</sup></includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 12:56, 19 June 2014

Template documentation[view] [edit] [history] [purge]

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