Permanently protected template

Template:Radic: Difference between revisions

From Vigyanwiki
Template>Army1987
m (class)
m (28 revisions imported from alpha:Template:Radic)
 
(29 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<includeonly><span style="white-space: nowrap" class="radic"><sup>{{{2|}}}</sup><span style="border-top: thin solid">{{{1|}}}</span></span></includeonly><noinclude>
<span class="nowrap">{{#if:{{{2|}}}|<sup style="margin-right: -0.5em; vertical-align: 0.8em;">{{{2|}}}</sup>}}&radic;<span style="border-top:1px solid; padding:0 0.1em;">{{{1}}}</span></span><noinclude>


{{Documentation}}
{{Documentation}}
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
</noinclude>

Latest revision as of 09:46, 14 December 2022

{{{1}}}

Template documentation


Usage

{{radic|2}} gives 2.

{{radic|1 + 2''x''|4}} gives 41 + 2x.

{{math|{{radic|2}}}} gives 2.

{{math|{{radic|1 + 2''x''|4}}}} gives 41 + 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>.

See also