Difference between revisions of "ConvertRating/GamePro"

From Sega Retro

 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span style="display:none;">{{#vardefine:value1|{{#explode:{{{1}}}|,|0}}}}{{
+
<includeonly><span style="display:none;">{{#if:{{{issue|}}}|{{#vardefine:set|{{
 +
#ifexpr:{{{issue}}}>=124|1999|{{
 +
#ifexpr:{{{issue}}}>=101|1997|{{
 +
#ifexpr:{{{issue}}}>=93|1996|}}|}}|}}}}}}{{#if:{{#pos:{{{1}}}|,}}|
 +
<!-- multiple ratings -->
 +
{{#vardefine:value1|{{#explode:{{{1}}}|,|0}}}}{{
 
#vardefine:value2|{{#explode:{{{1}}}|,|1}}}}{{
 
#vardefine:value2|{{#explode:{{{1}}}|,|1}}}}{{
 
#vardefine:value3|{{#explode:{{{1}}}|,|2}}}}{{
 
#vardefine:value3|{{#explode:{{{1}}}|,|2}}}}{{
 
#vardefine:value4|{{#explode:{{{1}}}|,|3}}}}{{
 
#vardefine:value4|{{#explode:{{{1}}}|,|3}}}}{{
#vardefine:value5|{{#explode:{{{1}}}|,|4}}}}{{#switch:{{#var:value5}}
+
#vardefine:value5|{{#explode:{{{1}}}|,|4}}}}{{#if:{{#var:value5}}|{{#switch:{{#var:value5}}
 
|beg
 
|beg
 
|BEG
 
|BEG
Line 13: Line 18:
 
|EXP
 
|EXP
 
|adj
 
|adj
|ADJ={{#vardefine:difficulty|yes}}
+
|ADJ={{#vardefine:fiverows|}}
|#default={{#vardefine:difficulty|}}
+
|#default={{#vardefine:fiverows|yes}}
}}{{#if:{{#var:difficulty}}
+
}}|{{#vardefine:fiverows|}}}}{{#if:{{#var:fiverows}}
 +
|{{#vardefine:score|{{#expr:({{#var:value1}}+{{#var:value2}}+{{#var:value3}}+{{#var:value4}}+{{#var:value5}})*4}}}}
 
|{{#vardefine:score|{{#expr:({{#var:value1}}+{{#var:value2}}+{{#var:value3}}+{{#var:value4}})*5}}}}
 
|{{#vardefine:score|{{#expr:({{#var:value1}}+{{#var:value2}}+{{#var:value3}}+{{#var:value4}})*5}}}}
|{{#vardefine:score|{{#expr:({{#var:value1}}+{{#var:value2}}+{{#var:value3}}+{{#var:value4}}+{{#var:value5}})*4}}}}
+
}}{{
}}{{#if:{{{date|}}}|{{#vardefine:set|{{dateswitch|date={{{date}}}|1989-01-01=|1996-01-01=1996|1997-01-01=1997}}}}}}{{
+
#vardefine:displayRating|{{{!}} style="width:auto; margin:0px;"
 +
{{!}}style="border: 2px solid #000; padding:0px; line-height:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value1}}*10}}{{#if:{{#var:set}}|&nbsp;{{#var:set}}}}.png|35px|Graphics: {{#var:value1}}]]
 +
{{!}}style="border: 2px solid #000; padding:0px; line-height:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value2}}*10}}{{#if:{{#var:set}}|&nbsp;{{#var:set}}}}.png|35px|Sound: {{#var:value2}}]]
 +
{{!}}style="border: 2px solid #000; padding:0px; line-height:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value3}}*10}}{{#if:{{#var:set}}|&nbsp;{{#var:set}}}}.png|35px|Gameplay: {{#var:value3}}]]
 +
{{!}}style="border: 2px solid #000; padding:0px; line-height:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value4}}*10}}{{#if:{{#var:set}}|&nbsp;{{#var:set}}}}.png|35px|FunFactor: {{#var:value4}}]]
 +
{{#if:{{#var:value5}}|{{#if:{{#var:fiverows}}
 +
|{{!}}style="border: 2px solid #000; padding:0px; line-height:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value5}}*10}}.png|35px|Challenge: {{#var:value5}}]]
 +
|}}|}}
 +
{{!}}}
 +
}}|
 +
<!-- single rating -->
 +
{{
 
#vardefine:displayRating|{{{!}} style="width:auto; margin:0px;"
 
#vardefine:displayRating|{{{!}} style="width:auto; margin:0px;"
{{!}}style="border: 2px solid #000; padding:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value1}}*10}}{{#if:{{#var:set}}|&nbsp;{{#var:set}}}}.png|35px|Graphics: {{#var:value1}}]]
+
{{!}}style="border: 2px solid #000; padding:0px;"{{!}}[[File:GamePro Rating {{#expr:{{{1|}}}*10}}{{#if:{{#var:set}}|&nbsp;{{#var:set}}}}.png|35px|{{{1|}}}]]
{{!}}style="border: 2px solid #000; padding:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value2}}*10}}{{#if:{{#var:set}}|&nbsp;{{#var:set}}}}.png|35px|Sound: {{#var:value2}}]]
+
{{!}}}
{{!}}style="border: 2px solid #000; padding:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value3}}*10}}{{#if:{{#var:set}}|&nbsp;{{#var:set}}}}.png|35px|Gameplay: {{#var:value3}}]]
 
{{!}}style="border: 2px solid #000; padding:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value4}}*10}}{{#if:{{#var:set}}|&nbsp;{{#var:set}}}}.png|35px|FunFactor: {{#var:value4}}]]
 
{{#if:{{#var:difficulty}}
 
|
 
|{{!}}style="border: 2px solid #000; padding:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value5}}*10}}.png|35px|Challenge: {{#var:value5}}]]
 
 
}}
 
}}
{{!}}}
+
{{#vardefine:score|{{#expr:{{{1}}}*20}}}}}}{{clearvar|set}}</span></includeonly><noinclude>
}}</span></includeonly><noinclude>
 
 
Template for converting to GamePro scores.
 
Template for converting to GamePro scores.
 
{{ConvertRating/GamePro|1,2,3,4,5}}{{#var:displayRating}}{{#var:score}}
 
{{ConvertRating/GamePro|1,2,3,4,5}}{{#var:displayRating}}{{#var:score}}
Line 36: Line 47:
 
{{ConvertRating/GamePro|1,2,3,4,adv}}{{#var:displayRating}}{{#var:score}}
 
{{ConvertRating/GamePro|1,2,3,4,adv}}{{#var:displayRating}}{{#var:score}}
 
{{ConvertRating/GamePro|1,2,3,4,exp}}{{#var:displayRating}}{{#var:score}}
 
{{ConvertRating/GamePro|1,2,3,4,exp}}{{#var:displayRating}}{{#var:score}}
{{ConvertRating/GamePro|1,2,3,4,adj|date=1996-12-01}}{{#var:displayRating}}{{#var:score}}
+
{{ConvertRating/GamePro|1,2,3,4,adj|issue=95}}{{#var:displayRating}}{{#var:score}}
{{ConvertRating/GamePro|1,2,3,4,adj|date=1997-12-01}}{{#var:displayRating}}{{#var:score}}
+
{{ConvertRating/GamePro|1,2,3,4,adj|issue=110}}{{#var:displayRating}}{{#var:score}}
 +
{{ConvertRating/GamePro|1,2,3,4,adj|issue=200}}{{#var:displayRating}}{{#var:score}}
 +
{{ConvertRating/GamePro|4.5,3.5,4,4.5|date=2000-xx-xx}}{{#var:displayRating}}{{#var:score}}
 +
{{ConvertRating/GamePro|4}}{{#var:displayRating}}{{#var:score}}
  
[[Category:Sega Retro templates]]</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 13:26, 1 January 2022

Template for converting to GamePro scores.

Graphics: 1 Sound: 2 Gameplay: 3 FunFactor: 4 Challenge: 5

60

Graphics: 1 Sound: 2.5 Gameplay: 3 FunFactor: 4.5

55

Graphics: 5 Sound: 5 Gameplay: 5 FunFactor: 5

100

Graphics: 1 Sound: 2 Gameplay: 3 FunFactor: 4

50

Graphics: 1 Sound: 2 Gameplay: 3 FunFactor: 4

50

Graphics: 1 Sound: 2 Gameplay: 3 FunFactor: 4

50

Graphics: 1 Sound: 2 Gameplay: 3 FunFactor: 4

50

Graphics: 1 Sound: 2 Gameplay: 3 FunFactor: 4

50

Graphics: 4.5 Sound: 3.5 Gameplay: 4 FunFactor: 4.5

82.5

4

80