Template:E

テンプレートの解説[表示] [編集] [履歴] [キャッシュを破棄]

{e}および{10^}は、科学記法の上付き番号(指数表記)を省入力するためのテンプレートです。{10^}は乗算記号(「×」)を生成しない点を除いて{e}とほほ同じ動作を行い、以下の使い方のように動作します。

使い方

3.14 × 10-12を書く際には通常3.14&nbsp;×&nbsp; 10 <sup>&12; </sup>と書きますが、テンプレートを利用すると3.14 {e | -12}と書くことができます。⇒ 3.14 ×10−12

{e|b}×10b

{10^|b} → 10b

{10^|-12} → 10−12

The first output character for {e} is a non-breaking thin-space:

.{e|b}. → .×10b.

.{10^|b}. → .10b.

.{10^|-12}. → .10−12.

デリミタ(Delimiters)

The template uses gaps or commas, per {val}.
1.2{e|12341}1.2×1012341.

文字と番号の認識

By default, the template recognizes both text and numbers. That is, typing 3.14{e|-12} will produce 3.14×10−12, with the proper minus sign (), rather than with a hyphen (-). However, typing A{e|-BC} will produce A×10-BC since BC is not a number. In those cases, you need to write A{e|&minus;BC} to produce the correct A×10−BC.

A minus sign also has to be provided for cases like 1.2×101 − 2 (1.2{e|1 &minus; 2}).

プラス記号の表示

To explicitly display the + character, write 1.2{e|4|plus} which will produce 1.2×10+4.

テキスト強制表示

To force the template to display the input as text, and forgo the automatic delimitation and the recognition of the hyphen as a minus sign, write 1.2{e|-42342|text}, which will display 1.2 × 10−42342 instead of 1.2×10−42342. This can also be used as an alternative to explicitly display the plus sign (1.2{e|+4|text} gives 1.2×10+4), but remember that you also lose delimitation if you do it this way.

TemplateData

これはビジュアルエディターテンプレートウィザードにより使用されるテンプレートのためのTemplateData文書です。

E

科学記法の上付き番号(指数表記)を省入力するためのテンプレート

テンプレートパラメーター

このテンプレートは、パラメーターを1行で記述することが推奨されています。

パラメーター説明状態
指数1

説明なし

7
数値必須
表示設定2

説明なし

値の候補
plus text
省略可能

関連項目