Difference between revisions of "ConvertRating"

From Sega Retro

Line 5: Line 5:
 
| megaforcees
 
| megaforcees
 
| megaforcept={{ConvertRating/Multiple|{{{1|}}}|{{{2|}}}|date={{{date|}}}}}
 
| megaforcept={{ConvertRating/Multiple|{{{1|}}}|{{{2|}}}|date={{{date|}}}}}
| #default=
+
| #default={{#if:{{#pos:{{{1|}}}|,}}
{{#if:{{#pos:{{{1|}}}|,}}
 
 
|{{ConvertRating/Multiple|{{{1|}}}|{{{2|}}}|date={{{date|}}}}}
 
|{{ConvertRating/Multiple|{{{1|}}}|{{{2|}}}|date={{{date|}}}}}
 
|{{ConvertRating/Single|{{{1|}}}|{{{2|}}}|date={{{date|}}}}}
 
|{{ConvertRating/Single|{{{1|}}}|{{{2|}}}|date={{{date|}}}}}

Revision as of 13:34, 5 June 2020

Clock.svg
This task is unfinished
This is a wiki task that requires more thought or peer review. An important issue that needs to be solved, which will appear at the top of Sega Retro:Todo until this message is removed.

A template for converting a rating, as printed in a magazine into:

  • something nice to display ({{#var:displayRating}})
  • a value out of 100 for use in Sega Retro averages ({{#var:score}})

it should be able to detect if a given value is invalid. Some magazines could be using multiple systems depending on context.

The user should not be expected to calculate anything.


TODO: added text. e.g. later issues of the UK Official Dreamcast magazine, 7 = "good".

Working values

0-4s

Input Display Score
0 0/40/40/40/4 0
1 1/41/41/41/4 25
2 2/42/42/42/4 50
3 3/43/43/43/4 75
4 4/44/44/44/4 100

1-5s

Input Display Score
1 1/51/51/51/51/5 0
2.5 2.5/52.5/52.5/52.5/52.5/5 37.5
3 3/53/53/53/53/5 50
4.5 4.5/54.5/54.5/54.5/54.5/5 87.5
5 5/55/55/55/55/5 100

1-10

Input Display Score
1 1/10 0
2.5 2.5/10 16.666666666667
4 4/10 33.333333333333
7.5 7.5/10 72.222222222222
10 10/10 100

A-F

Input Display Score
A A 100
B+ B+ 83
C C 50
D- D- 16
F F 0

GamePro

Input Display Score
1,2,3,4,5
Graphics: 1 Sound: 2 Gameplay: 3 FunFactor: 4 Challenge: 5
||60
1,2,3,4,adj
Graphics: 1 Sound: 2 Gameplay: 3 FunFactor: 4
||50