Difference between revisions of "Template:Pow/doc"

From Zero-K
Jump to navigation Jump to search
(Wrong documentation snippet copied from a different function before... but would be nice to make the caret appear only for c&p and not when styles are disabled.)
(Added default.)
Line 1: Line 1:
 
Use for creating exponents:
 
Use for creating exponents:
 
<var>E</var> = <var>m</var><var>c</var>{{pow|2}}. Over plain <code>&lt;sup&gt;</code> tags, this template has the benefit of showing up correctly even when copying and pasting plain text.
 
<var>E</var> = <var>m</var><var>c</var>{{pow|2}}. Over plain <code>&lt;sup&gt;</code> tags, this template has the benefit of showing up correctly even when copying and pasting plain text.
 +
 +
The default value is ''squared'' ({{pow}}).

Revision as of 13:16, 15 September 2021

Use for creating exponents: E = mc^2. Over plain <sup> tags, this template has the benefit of showing up correctly even when copying and pasting plain text.

The default value is squared (^2).