Difference between revisions of "ConvertRating/MegaForce"
From Sega Retro
(Created page with "{{{!}} style="width:auto; margin:0px;" {{!}}style="border: 2px solid #000; padding:0px; background-color:#89E006;"{{!}}35px|{{#var:value1}} {{!...") |
|||
Line 1: | Line 1: | ||
− | {{{ | + | <includeonly><span style="display:none;">{{#vardefine:value1|{{#explode:{{{1}}}|,|0}}}}{{ |
− | {{ | + | #vardefine:value2|{{#explode:{{{1}}}|,|1}}}}{{ |
− | {{ | + | #vardefine:value3|{{#explode:{{{1}}}|,|2}}}}{{ |
− | {{ | + | #vardefine:value4|{{#explode:{{{1}}}|,|3}}}}{{ |
− | {{ | + | #switch:{{{2|}}} |
− | {{ | + | |fr={{#vardefine:heading1|Son}}{{#vardefine:heading2|Graphisme}}{{#vardefine:heading3|Animation}}{{#vardefine:heading4|Maniabilite}}{{#vardefine:ratingname1|Bof}}{{#vardefine:ratingname2|Moyen}}{{#vardefine:ratingname3|Bien}}{{#vardefine:ratingname4|Super}}{{#vardefine:ratingname5|Genial}} |
+ | |es={{#vardefine:heading1|Sonido}}{{#vardefine:heading2|Grafismo}}{{#vardefine:heading3|Animacion}}{{#vardefine:heading4|Manejabilidad}}{{#vardefine:ratingname1|Aburrido}}{{#vardefine:ratingname2|Entretenido}}{{#vardefine:ratingname3|Bien}}{{#vardefine:ratingname4|Súper}}{{#vardefine:ratingname5|Genial}} | ||
+ | |pt={{#vardefine:heading1|Som}}{{#vardefine:heading2|Grafismo}}{{#vardefine:heading3|Animação}}{{#vardefine:heading4|Manejabilidade}}{{#vardefine:ratingname1|Aborrecido}}{{#vardefine:ratingname2|Razoável}}{{#vardefine:ratingname3|Bom}}{{#vardefine:ratingname4|Super}}{{#vardefine:ratingname5|Genial}} | ||
+ | }}{{ | ||
+ | #vardefine:desc1|{{#switch:{{#var:value1}} | ||
+ | |1={{#var:ratingname1}} | ||
+ | |2={{#var:ratingname2}} | ||
+ | |3={{#var:ratingname3}} | ||
+ | |4={{#var:ratingname4}} | ||
+ | |5={{#var:ratingname5}} | ||
+ | }}}}{{ | ||
+ | #vardefine:desc2|{{#switch:{{#var:value2}} | ||
+ | |1={{#var:ratingname1}} | ||
+ | |2={{#var:ratingname2}} | ||
+ | |3={{#var:ratingname3}} | ||
+ | |4={{#var:ratingname4}} | ||
+ | |5={{#var:ratingname5}} | ||
+ | }}}}{{ | ||
+ | #vardefine:desc3|{{#switch:{{#var:value3}} | ||
+ | |1={{#var:ratingname1}} | ||
+ | |2={{#var:ratingname2}} | ||
+ | |3={{#var:ratingname3}} | ||
+ | |4={{#var:ratingname4}} | ||
+ | |5={{#var:ratingname5}} | ||
+ | }}}}{{ | ||
+ | #vardefine:desc4|{{#switch:{{#var:value4}} | ||
+ | |1={{#var:ratingname1}} | ||
+ | |2={{#var:ratingname2}} | ||
+ | |3={{#var:ratingname3}} | ||
+ | |4={{#var:ratingname4}} | ||
+ | |5={{#var:ratingname5}} | ||
+ | }}}}{{ConvertRating/ImageSet| | ||
+ | | value1={{#var:value1}} | ||
+ | | bg1=89E006 | ||
+ | | image1=MegaForce Rating {{#var:value1}}.png | ||
+ | | heading1={{#var:heading1}} | ||
+ | | desc1={{#var:desc1}} | ||
− | + | | value2={{#var:value2}} | |
− | + | | bg2=F200B1 | |
− | + | | image2=MegaForce Rating {{#var:value2}}.png | |
− | + | | heading2={{#var:heading2}} | |
− | + | | desc2={{#var:desc2}} | |
− | + | | value3={{#var:value3}} | |
− | + | | bg3=FFB800 | |
− | + | | image3=MegaForce Rating {{#var:value3}}.png | |
− | + | | heading3={{#var:heading3}} | |
− | + | | desc3={{#var:desc3}} | |
− | + | | value4={{#var:value4}} | |
− | + | | bg4=FFFF00 | |
− | + | | image4=MegaForce Rating {{#var:value4}}.png | |
− | + | | heading4={{#var:heading4}} | |
− | + | | desc4={{#var:desc4}} | |
+ | }}{{#vardefine:score|{{#expr:{{#var:score}} * 5}}}}</span></includeonly><noinclude> | ||
− | + | Template to display ratings from the ever-confusing Mega Force. | |
− | + | <pre>{{ConvertRating/MegaForce|1,2,3,4|fr}}</pre> | |
− | + | {{ConvertRating/MegaForce|1,2,3,4|fr}} | |
− | + | {{#var:displayRating}}{{#var:score}} | |
− | + | <pre>{{ConvertRating/MegaForce|5,5,5,5|es}}</pre> | |
− | + | {{ConvertRating/MegaForce|5,5,5,5|es}} | |
− | + | {{#var:displayRating}}{{#var:score}} | |
− | |||
− | + | <pre>{{ConvertRating/MegaForce|1,1,1,1|pt}}</pre> | |
− | + | {{ConvertRating/MegaForce|1,1,1,1|pt}} | |
− | + | {{#var:displayRating}}{{#var:score}} | |
− | |||
− | + | [[Category:Ratings templates]]</noinclude> | |
− | |||
− | [[Category:Ratings templates]] |