Difference between revisions of "ConvertRating/Multiple"
From Sega Retro
Line 24: | Line 24: | ||
{{#if:{{#var:system3}}|{{#if:{{#var:rating3}}| | {{#if:{{#var:system3}}|{{#if:{{#var:rating3}}| | ||
{{ConvertRating/Single|{{#var:system3}}|{{#var:rating3}}}} | {{ConvertRating/Single|{{#var:system3}}|{{#var:rating3}}}} | ||
− | {{#vardefine:cumulativeDisplay|{{#var:cumulativeDisplay}}{{#if:{{#pos:{{#var:system2}|s}}|<br />| }}{{#var:displayRating}}}} | + | {{#vardefine:cumulativeDisplay|{{#var:cumulativeDisplay}}{{#if:{{#pos:{{#var:system2}}|s}}|<br />| }}{{#var:displayRating}}}} |
{{#vardefine:cumulativeScore|{{#expr:{{#var:cumulativeScore}} + {{#var:score}}}}}} | {{#vardefine:cumulativeScore|{{#expr:{{#var:cumulativeScore}} + {{#var:score}}}}}} | ||
{{#vardefine:numberOfScores|{{#expr:{{#var:numberOfScores}} + 1}}}} | {{#vardefine:numberOfScores|{{#expr:{{#var:numberOfScores}} + 1}}}} |
Revision as of 13:09, 20 May 2020
For when there are multiple ratings expected - convert each one and calculate an average.
system | input | display | score | workings |
---|---|---|---|---|
0-10,0-10,0-10 | 1,2,3 | 1/10 2/10 3/10 | 20 | (60, 3) |
0-100,0-100,0-100,0-100 | 10,20,30,40 | 10% 20% 30% 40% | 25 | (100, 4) |
A-F,A-F,A-F,A-F,A-F | A,B,C,D,F | A B C D F | 50 | (250, 5) |
1-5s,1-5s,1-5s,1-5s,1-5s | 1,2,3,4,5 | 50 | (250, 5) |