Template talk:Tmath

Behavior of parser functions [either extensions or not] when the parameter is not provided
The  parser function extension returns   instead of   when the parameter is not provided. Do all the parser functions and/or parser function extensions behave in this way? Just asking. &mdash; TentaclesTalk or ✉ mailto: Tentacles 15:26, 30 March 2016 (UTC)

Using magic words, parser functions [either extensions or not] and/or templates inside the tmath template
Should I mention (or not) on the doc page that one may use magic words, parser functions [either extensions or not] and/or templates inside the tmath template, with an example such as:

The code



yields



Or is this discouraged? &mdash; TentaclesTalk or ✉ mailto: Tentacles 15:43, 30 March 2016 (UTC)


 * You may see that parser functions are ignored ans stripped. So there is no point in using them.  21:13, 30 March 2016 (UTC)


 * The parser function [extension]  used in the tmath example above yielded   so it did work. &mdash; TentaclesTalk or ✉ mailto: Tentacles 23:31, 30 March 2016 (UTC)

Improving the template
This template documentation as the users above noted is downplaying its potential quite a bit in my opinion. Compared to using  there's plenty of positives such as
 * 1) Allowing templates and semantic mediawiki properties inside it is a VERY strong feature. Example:   yields $$$$, it should of course show $\frac{1}{\zeta(2)} = \frac{6}{\pi^2} = \ldots$ which  successfully did. As the calculations imply; supporting templates, parser functions and SMW properties allows creating advanced math examples that will stay synchronized with the wiki even if the variables changes.
 * 2) Controlling styles and background colors can easily be done in templates. Maybe not that useful for this wiki in particular.

The issue with equal signs isn't that big of a deal with named parameters, if it allowed the named parameter "formula": $\frac{1}{\zeta(2)} = \frac{6}{\pi^2} = \ldots$

And if you expand the template a bit to include and  you can create numbered equations by just adding "nr=1" as a named parameter and then reference them with. Here's the code suggestion, taken from here:

Remove  if it's not needed.--Illviljan (talk) 20:46, 22 January 2017 (UTC)

Not to print "1" in the case of empty argument
I think it is not necessary to print "1" in the case of empty argument for this template, so I add "|" in the end of it.

But it is reverted. What other friends think about this change (adding "|") in this template?

Thanks, Hooman Mallahzadeh (talk) 16:44, 27 September 2020 (UTC)