Template talk:Demo of attempt to use parameters within TeX
Add topic{{Demo of attempt to use parameters within TeX|4||abc=def}} and {{Demo of attempt to use parameters within TeX|6||abc=def}}
give
Attempt to use template parameters within <math>...</math>:
Failed to parse (syntax error): {\displaystyle {{#expr:2+3}}}
Compare using "#tag:math":
For a=4,
4
Attempt to use template parameters within <math>...</math>:
Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "http://localhost:6011/meta.wikimedia.org/v1/":): {\displaystyle {{#expr:2+3}}}
Compare using "#tag:math":
For a=6,
6
Conclusion: parameters are not substituted, {{{1}}} is interpreted as 1, etc.
However, math tags inside a template parameter are allowed:
{{x2|<math>\frac{a}{b} = e^2</math>}} gives:
Start a discussion about Template:Demo of attempt to use parameters within TeX
Talk pages are where people discuss how to make content on Meta the best that it can be. You can use this page to start a discussion with others about how to improve Template:Demo of attempt to use parameters within TeX.