I have one parameter in an infobox called speed that is often filled as "10 run, 5 walk, 40 fly" e.g.:
Speed = 10 run, 5 walk, 40 fly
Is there a way I can pull the numbers out, do some simple math with them, and display results in a different format using Wikitext? If not Wikitext, is there another way I could accomplish this on my Wiki?
More specifically, what I want to do is pull out the 10 from "10 run" and multiply that with another parameter called "ambush." The result would find ambush speed. If ambush = 1.5, then 10 * 1.5 = 15 ambush speed. I want to display this information as:
x1.5 (15 speed)
In the infobox