Difference between revisions of "Template:Pow/doc"

From Zero-K
Jump to navigation Jump to search
(Initial docs.)
 
(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.)
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 style sheets are disabled or otherwise not available.
+
<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.

Revision as of 16:22, 13 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.