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

From blackwiki
Jump to navigation Jump to search
imported>Ruslik0
imported>Lightsup55
m (minor add)
Line 1: Line 1:
 
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
 
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 +
{{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}}
 
== Usage ==
 
== Usage ==
 
The {{Tl|Esp}} template is intended to facilitate and make uniform [[scientific notation]] numbers. Its is a spaced version of {{tl|e}} template. <!--- It should be [[WP:SUBST|substituted]]. --->To render
 
The {{Tl|Esp}} template is intended to facilitate and make uniform [[scientific notation]] numbers. Its is a spaced version of {{tl|e}} template. <!--- It should be [[WP:SUBST|substituted]]. --->To render

Revision as of 15:56, 2 February 2009

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

instead of writing:

3.14&nbsp;×&nbsp;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|&minus;12}}—3.14
3.14{{Esp|−12}}—3.14
3.14{{Esp|''z'' − ''y''}}—3.14

See also