模板:Sqrt
√{{{1}}}頁面Module:Documentation/styles.css沒有內容。
File:Test Template Info-Icon - Version (2).svg 模板文件[檢視] [編輯] [歷史] [清除快取]
- REDIRECT Template:改進使用說明
Usage[編輯]
{{sqrt|2}} gives √2.
This template is an alternative to using the LaTeX \sqrt rendered in-line, and will make the square root appear as text with the √ symbol and then the number (entered as the first parameter in this template) with an overline. Do not use this inside <math> tags.
- 當然也可以選用
<math></math>輸出:{{Sqrt|2|3|use math=yes}}gives package.lua第80行Lua錯誤:module 'Module:TrackingCategory' not found.
- 若要放置於
<math></math>中請同時指定use math與in math為真,並且以{{#tag:math|}}來書寫math標籤:{{#tag:math| 2 + {{Sqrt|2|3|use math=yes|in math=yes}} }}gives <math> 2 + package.lua第80行Lua錯誤:module 'Module:TrackingCategory' not found </math>
- 若未啟用
use math則無法正常顯示多次方根:{{Sqrt|2|3}}gives √2