Template talk:Demo of attempt to use parameters within TeX

From Meta, a Wikimedia project coordination wiki

Jump to: navigation, search

{{Demo of attempt to use parameters within TeX|4||abc=def}} and {{Demo of attempt to use parameters within TeX|6||abc=def}}

give

Time Complexity: O(bd + 1)

Space Compexity: O(bd + 1)

Complete

Optimal

Time Complexity: O(bd + 1)

Space Compexity: O(bd + 1)

Complete

Optimal

Conclusion: parameters are not substituted, {{{1}}} is interpreted as 1, etc.

\frac{a}{b} = e^2

However, math tags inside a template parameter are allowed:

{{x2|<math>\frac{a}{b} = e^2 \sqrt[n]{x}</math>}} gives: \frac{a}{b} = e^2 \sqrt[n]{x}\frac{a}{b} = e^2 \sqrt[n]{x}