Permanently protected template

Template:Radic

From Vigyanwiki
Revision as of 11:13, 2 March 2010 by Template>Jacobolus (change border to 0.1em from thin (i.e. 1 px), so that the top of the radical will scale up when used for large font sizes)

{{{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