Template:Weighted list
Template page
More actions
This template transforms each 2nd, 4th arguments as a percent of the total sum. Since many tables are stored in a such format in game, it's useful to write them as is for quicker verification.
{{weighted list|* Item 1 - |3|
*Item 2 - |4|
*Item 3 - |5}}
gives you:
- Item 1 - 25%
- Item 2 - 33.3%
- Item 3 - 41.7%