Template:Multiple probabilities

This template is used for calculating the probabilities when you got a list of probabilities and go from top to bottom and "roll dice" until you get a hit. This is often used in Xenoblade X. Receives an array with the '~' separator and up to 10 items. Because this template was primarily made with Xenoblade X in mind and since that uses percentages, this template uses percentages as well. The second input parameter defines how much the result should be rounded (default 3 digits). Returns an array of the probabilities with the same separator.