Template:Radic: Difference between revisions
From Vigyanwiki
Template>Edokter (Use one <sup>) |
Template>DMacks (→top: tag for merge) |
||
Line 1: | Line 1: | ||
<span class="nowrap">{{#if:{{{2|}}}|<sup style="margin-right: -0.5em; vertical-align: 0.8em;">{{{2|}}}</sup>}}√<span style="border-top:1px solid; padding:0 0.1em;">{{{1}}}</span></span><noinclude> | {{Tfm/dated|page=Sqrt|otherpage=Radic|link=Wikipedia:Templates for discussion/Log/2017 October 17#Template:Sqrt|type=inline|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}}<span class="nowrap">{{#if:{{{2|}}}|<sup style="margin-right: -0.5em; vertical-align: 0.8em;">{{{2|}}}</sup>}}√<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> |
Revision as of 09:27, 17 October 2017
This template is being considered for merging with Template:Radic. Please discuss this matter at this template's entry at templates for discussion to help reach a consensus.
Maintenance use only: 1. Edit the TfD log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfmnotice|Sqrt|Radic}} ~~~~ on their talk page(s). |
√{{{1}}}
Usage
{{radic|2}}
gives ‹The template Sqrt is being considered for merging.› √2.
{{radic|1 + 2''x''|4}}
gives ‹The template Sqrt is being considered for merging.› 4√1 + 2x.
{{math|{{radic|2}}}}
gives ‹The template Sqrt is being considered for merging.› √2.
{{math|{{radic|1 + 2''x''|4}}}}
gives ‹The template Sqrt is being considered for merging.› 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>.