Difference between revisions of "ConvertRating/GamePro"
From Sega Retro
(that took an age) |
|||
Line 18: | Line 18: | ||
|{{#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}}+{{#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}}}} | ||
− | }}{{#if:{{{date|}}}|{{#vardefine:set|{{dateswitch|date={{{date}}}|1989-01-01=|1996-01-01=1996|1997-01-01=1997|1999-01-01=1999}}}}}}{{ | + | }}{{#if:{{{date|}}}|{{#vardefine:set|{{dateswitch|date={{#replace:{{{date}}}|x|0}}|1989-01-01=|1996-01-01=1996|1997-01-01=1997|1999-01-01=1999}}}}}}{{ |
#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}}| {{#var:set}}}}.png|35px|Graphics: {{#var:value1}}]] | {{!}}style="border: 2px solid #000; padding:0px;"{{!}}[[File:GamePro Rating {{#expr:{{#var:value1}}*10}}{{#if:{{#var:set}}| {{#var:set}}}}.png|35px|Graphics: {{#var:value1}}]] |