For example I put in "Normal" 100, the "Shiny" will be 700.
For example I put in "Normal" 100, the "Shiny" will be 700.
You can do that with parser functions!!
So assuming that "Shiny" is always 7x "Normal" you just need to use the parameters!
So also assuming that normal is a parameter in the infobox, the Shiny part would look like this:
{{#expr: 7*{{normal}}}}
Of course, make sure that the infobox parameter is correct.
If you'd like to link the template here, I could add it!
Adding such a formatting to an infobox is a bit complicated. Assuming the "shiny" always appears, you would need to go to the template code and use something similar to
<data source="shiny">
<default>${{#expr: 7*{{{normal}}}}}</default>
</data>
This would also allow you to enter another value if it's not exactly 7 times "normal" (you would need to do this manually though). The images in the example would need to be added in that coding as well.
Okay thanks
Small change, it is probably better to do this:
<data source="shiny">
<default>${{#expr: 7*{{{normal|0}}}}}</default>
</data>
This way, if both shiny and normal are not provided, shiny will default to 0 instead of producing an error message.
What do you think?