Template:Radic/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Script error: No such module "Message box".

Usage

{{radic|2}} gives 2.

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

{{math|{{radic|2}}}} gives 2Script error: No such module "Check for unknown parameters"..

{{math|{{radic|1 + 2''x''|4}}}} gives 41 + 2xScript error: No such module "Check for unknown parameters"..

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 Template:Phab is fixed.

For example: 1+2x4 can be produced with <math>\sqrt[4]{1 + 2x}</math>.

See also

Template:Math templates