Template:Radic/doc

From testwiki
Jump to navigation Jump to search

Template:Documentation subpage

Usage

{{radic|2}} gives Template:Radic.

{{radic|1 + 2''x''|4}} gives Template:Radic.

{{math|{{radic|2}}}} gives Template:Math.

{{math|{{radic|1 + 2''x''|4}}}} gives Template:Math.

Per MOS:RADICAL, Template:Tag 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