Difference between revisions of "ConvertRating/GamePro"

From Sega Retro

(Created page with "<includeonly>{{#vardefine:value1|{{#explode:{{{1}}}|,|0}}}}{{ #vardefine:value2|{{#explode:{{{1}}}|,|1}}}}{{ #vardefine:value3|{{#explode:{{{1}}}|,|2}}}}{{ #vardefine:value4|{...")
 
Line 1: Line 1:
<includeonly>{{#vardefine:value1|{{#explode:{{{1}}}|,|0}}}}{{
+
<includeonly><span style="display:none;">{{#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}}}}{{#vardefine:displayRating|
+
#vardefine:value5|{{#explode:{{{1}}}|,|4}}}}{{#switch:{{#var:value5}}
{{{!}} style="width:auto;"
 
{{!}}style="border: 2px solid #000; padding:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value1}}*10}}.png|35px|Graphics: {{#var:value1}}]]
 
{{!}}style="border: 2px solid #000; padding:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value2}}*10}}.png|35px|Sound: {{#var:value2}}]]
 
{{!}}style="border: 2px solid #000; padding:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value3}}*10}}.png|35px|Gameplay: {{#var:value3}}]]
 
{{!}}style="border: 2px solid #000; padding:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value4}}*10}}.png|35px|FunFactor: {{#var:value4}}]]
 
{{#switch:{{#var:value5}}
 
 
|beg
 
|beg
 
|BEG
 
|BEG
Line 19: Line 13:
 
|EXP
 
|EXP
 
|adj
 
|adj
|ADJ=
+
|ADJ={{#vardefine:difficulty|yes}}
{{!}}style="border: 2px solid #000; padding:0px; background-color:#7F007F; color:#FFF; text-align:center; font-weight:bold; vertical-align:middle; width:37px; text-transform: uppercase;"{{!}}{{#var:value5}}{{#vardefine:score|{{#expr:({{#var:value1}}+{{#var:value2}}+{{#var:value3}}+{{#var:value4}})*5}}}}
+
|#default={{#vardefine:difficulty|}}
|#default=
+
}}{{#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:({{#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}}+{{#var:value5}})*4}}}}
 +
}}{{
 +
#vardefine:displayRating|{{{!}} style="width:auto; margin:0px;"
 +
{{!}}style="border: 2px solid #000; padding:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value1}}*10}}.png|35px|Graphics: {{#var:value1}}]]
 +
{{!}}style="border: 2px solid #000; padding:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value2}}*10}}.png|35px|Sound: {{#var:value2}}]]
 +
{{!}}style="border: 2px solid #000; padding:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value3}}*10}}.png|35px|Gameplay: {{#var:value3}}]]
 +
{{!}}style="border: 2px solid #000; padding:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value4}}*10}}.png|35px|FunFactor: {{#var:value4}}]]
 +
{{#if:{{#var:difficulty}}
 +
|{{!}}style="border: 2px solid #000; padding:0px; background-color:#7F007F; color:#FFF; text-align:center; font-weight:bold; vertical-align:middle; width:37px; text-transform: uppercase;"{{!}}{{#var:value5}}
 +
|{{!}}style="border: 2px solid #000; padding:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value5}}*10}}.png|35px|Challenge: {{#var:value5}}]]
 
}}
 
}}
 
{{!}}}
 
{{!}}}
}}</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}}

Revision as of 14:29, 21 April 2020

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 beg

55

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

100

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

50

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

50

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

50