Template:Radic: Difference between revisions
Appearance
Content deleted Content added
→top: this one won't be affected by the merge, no need to see the tag on use-cases |
Salix alba (talk | contribs) m Protected "Template:Radic": Highly visible template ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<span class="nowrap">{{#if:{{{2|}}}|<sup style="margin-right: -0.5em; vertical-align: 0.8em;">{{{2|}}}</sup>}}√<span style="border-top:1px solid; padding:0 0.1em;">{{{1}}}</span></span><noinclude> |
|||
{{Documentation}} |
{{Documentation}} |
Latest revision as of 08:27, 17 December 2017
√{{{1}}}
Usage
{{radic|2}}
gives √2.
{{radic|1 + 2''x''|4}}
gives 4√1 + 2x.
{{math|{{radic|2}}}}
gives √2.
{{math|{{radic|1 + 2''x''|4}}}}
gives 4√1 + 2x.
Per MOS:RADICAL, <math>...</math>
markup is generally preferred to render expressions using the radical symbol √, but it does not work with the Media Viewer extension, which is used to view images full-screen on mobile devices. So this template should only be used in image captions until T263572 is fixed.
For example: can be produced with <math>\sqrt[4]{1 + 2x}</math>.