Template:Ratings: Difference between revisions

From MiiWiki
Jump to navigationJump to search
(Created page with "{{#if:{{{esrb|}}}|ESRB: {{#switch:{{lc:{{{esrb}}}}}|rp=16px|link= - Rating Pending|e=File:ESRB E.png|1...")
 
m (Bugfix)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if:{{{esrb|}}}|[[wikipedia:Entertainment Software Rating Board|ESRB]]: {{#switch:{{lc:{{{esrb}}}}}|rp=[[File:ESRB RP.png|16px|link=]] - Rating Pending|e=[[File:ESRB E.png|16px|link=]] - Everyone|e10=[[File:ESRB E10.png|16px|link=]] - Everyone 10+|t=[[File:ESRB T.png|16px|link=]] - Teen}}}}
<onlyinclude>{{#if:{{{esrb|}}}|[[wikipedia:Entertainment Software Rating Board|ESRB]]: {{#switch:{{lc:{{{esrb}}}}}
{{#if:{{{pegi|}}}|[[wikipedia:Pan European Game Information|PEGI]]: {{#switch:{{lc:{{{pegi}}}}}|3=[[File:PEGI 3.png|18px|link=]] - Ages 3+|7=[[File:PEGI 7.png|18px|link=]] - Ages 7+|12=[[File:PEGI 12.png|18px|link=]] - Ages 12+}}}}
|rp=[[File:ESRB RP.png|x18px|link=]] - Rating Pending
{{#if:{{{cero|}}}|[[wikipedia:Computer Entertainment Rating Organization|CERO]]: {{#switch:{{lc:{{{cero}}}}}|a=[[File:CERO A.png|20px|link=]] - All ages|b=[[File:CERO B.png|20px|link=]] - Ages 12+|c=[[File:CERO C.png|20px|link=]] - Ages 15+|rs=[[File:CERO RS.png|20px|link=]] - Rating Scheduled}}}}<noinclude>
|e=[[File:ESRB E.png|x18px|link=]] - Everyone
[[Category:Formatting templates]]
|e10=[[File:ESRB E10.png|x18px|link=]] - Everyone 10+
</noinclude>
|t=[[File:ESRB T.png|x18px|link=]] - Teen}}<br>}}<!--
-->{{#if:{{{pegi|}}}|[[wikipedia:Pan European Game Information|PEGI]]: {{#switch:{{lc:{{{pegi}}}}}
|3=[[File:PEGI 3.png|x18px|link=]] - Ages 3+
|7=[[File:PEGI 7.png|x18px|link=]] - Ages 7+
|12=[[File:PEGI 12.png|x18px|link=]] - Ages 12+}}<br>}}<!--
-->{{#if:{{{cero|}}}|[[wikipedia:Computer Entertainment Rating Organization|CERO]]: {{#switch:{{lc:{{{cero}}}}}
|a=[[File:CERO A.png|x20px|link=]] - All ages
|b=[[File:CERO B.png|x20px|link=]] - Ages 12+
|c=[[File:CERO C.png|x20px|link=]] - Ages 15+
|rs=[[File:CERO RS.png|x20px|link=]] - Rating Scheduled}}}}</onlyinclude><noinclude>{{doc}}[[Category:Formatting templates]]</noinclude>

Latest revision as of 16:50, 24 September 2021

Use this template in game infoboxes in the "rating" parameter to indicate a game's age rating. The template currently supports ESRB, PEGI, and CERO ratings. A syntax guide is shown below.

Syntax Rating
{{ratings|esrb= E / E10 / T / RP }}
{{ratings|pegi= 3 / 7 / 12 }}
{{ratings|cero= A / B / C / RS }}