Template:Radic/doc: Difference between revisions
From Vigyanwiki
(restore deprecation per MOS:RADICAL, add example) |
m (1 revision imported) |
(No difference)
| |
Latest revision as of 09:17, 27 July 2022
| This is a documentation subpage for Template:Radic. It may contain usage information, categories and other content that is not part of the original template page. |
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>.
See also