Forum:Expression inside an template

I was wondering how to get this to work:

--Jens Ingels (talk) 18:30, September 30, 2012 (UTC)


 * What exactly is in this example? It must be a template parameter. Where is the template?

Well that is the template. The idea is when adding this:. It gives the results of the formule. The formule system is like this: $$Earn + EarnB = Result$$ and $$Earn + (EarnB/2) = Result$$ for levels higher than 10. This is the content where I try to make the formule for:

Level 1-10= Level 11-20= Level 21-30=

If I can get the template to work they probaly only have to add the small code " ". The hp system is almost similar. The problem is simply I can get " " to work inside the expr function.

--Jens Ingels (talk) 15:52, October 2, 2012 (UTC)


 * Well, the way in which you're using formatnum above doesn't cause any problems so far as I can see. For example, I made a template here and it worked just fine with inside expr. Can you please link to your work-in-progress template so I can take a closer look at your exact code to further investigate?

I figured out what's wrong. It's the tabber function that make tags like " " not working. I figured it out when testing your code inside the tabber. All tags went back to default or alternative. For example of the template. Well that table I showed above was the template that I slowly wanted to rebuild with the code.

Now will remain the question if there an fix that can let the expr work in the tabber extension.--Jens Ingels (talk) 08:12, October 3, 2012 (UTC)