Difference between revisions of "ConvertRating"

From Sega Retro

(Created page with "<includeonly></includeonly><noinclude> A template for converting a rating, as printed in a magazine into: *something nice to display *a value out of 100 for use in Sega Retro...")
 
Line 1: Line 1:
<includeonly></includeonly><noinclude>
+
<includeonly></includeonly><noinclude>{{TODO}}
 
A template for converting a rating, as printed in a magazine into:
 
A template for converting a rating, as printed in a magazine into:
*something nice to display
+
*something nice to display (<nowiki>{{#var:displayRating}}</nowiki>)
*a value out of 100 for use in Sega Retro averages
+
*a value out of 100 for use in Sega Retro averages (<nowiki>{{#var:score}}</nowiki>)
  
 +
Magazine pages should use [[Template:RatingSystemDefine]] to define which systems are in use.
  
  
(haven't worked out how best to do this - whether this needs to be aware of magazine pages, or if magazine pages need to be aware of this)
 
 
Systems to support:
 
*0-4 stars
 
*1-4 stars
 
*0-5 stars
 
*1-5 stars
 
*0-10 stars
 
*1-10 stars
 
*0-4 (numbers)
 
*1-4 (numbers)
 
*0-5 (numbers)
 
*1-5 (numbers)
 
*0-10 (numbers)
 
*1-10 (numbers)
 
*0-20 (numbers)
 
*1-20 (numbers)
 
*0-100 (percentage)
 
*0-1000 (ACE)
 
*A-F
 
 
multiple instances of the above (e.g. support "1,2,3,4" for EGM)
 
multiple instances of the above (e.g. support "1,2,3,4" for EGM)
  

Revision as of 03:44, 20 April 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}})

Magazine pages should use Template:RatingSystemDefine to define which systems are in use.


multiple instances of the above (e.g. support "1,2,3,4" for EGM)

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


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.