Template talk:Math
This talk page is for discussing Template:Math.
- Sign your posts using four tildes (
~~~~
) - Start a new topic at the bottom under a
==level 2 heading==
- Indent replies using colons (
:
) - Keep it civil
- Assume good faith
- Don't remove past discussions
Formula parameter
Since the formula is clearly the most important parameter used by this template, couldn't we simplify the wikicode by using the first numbered parameter {{{1}}}
to pass in the formula? We can still retain {{{formula}}}
for backwards compatibility. —Vini (t|c) 03:12, 6 July 2016 (UTC)
- That's how it used to be in the beggining, and it caused errors due to
=
sign inside of formulas, e.g.{{math|2 + 2 = 5}}
. I didn't know a fix for that other than calling a parameter by name, like{{math|1=2 + 2 = 5}}
, that's why I decided to make a named parameter{{{formula}}}
instead of{{{1}}}
. But now I see we can use Template:= instead of=
, so it makes sense to use{{{1}}}
— Freeeeez aka TheFrz – 08:45, 6 July 2016 (UTC)- I see. I would prefer to use a named parameter than have to use Template:=, so I think we can leave it how it is now. —Vini (t|c) 09:05, 6 July 2016 (UTC)