Template:PEGI: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>[[File:PEGI rating - {{{1|}}}.gif|{{#switch:{{{1|}}}|3=PEGI 3 (For Everyone)|7=PEGI 7 (For ages 7 up)||35px]]</includeonly>
{{#vardefine:16|{{#if:{{{16|{{#ifeq:{{{1|}}}|16|y}}}}}|16}}}}{{#vardefine:18|{{#if:{{{18|{{#ifeq:{{{1|}}}|18|y}}}}}|18}}}}{{#vardefine:rating|{{#var:16|{{#var:18|}}}}}}<!--
-->{{#if:{{{PEGI|7|}}}|[[File:PEGI rating - violence.gif|35x]]<!--
-->{{#switch:{{#var:rating}}<!--
 
-->|16|18=[[File:PEGI rating - {{#var:rating}}.gif|35x|PEGI {{#var:rating}}]]<!--
 
-->}}<!--
-->{{#if:{{{violence|}}}|[[File:PEGI rating - violence.gif|35x|{{#if:{{#var:18}}|Gross v|V}}iolence]]}}<!--
<noinclude>
<noinclude>
PEGI (Pan European Game Information) is a European video game content rating system.
PEGI (Pan European Game Information) is a European video game content rating system.
Line 9: Line 10:


== Usage ==
== Usage ==
<nowiki>{{PEGI|3}}</nowiki> displays-> {{PEGI|3}}
<nowiki>{{PEGI|18|violence=y}}</nowiki> displays-> {{PEGI|18=y|violence=y}}
<br>
{|
<nowiki>{{PEGI|7}}</nowiki> displays-> {{PEGI|7}}
! Param !! Displays
|-
|16 || [[File:PEGI rating - 3.gif|35x]]
|-
|18 || [[File:PEGI rating - 7.gif|35x]]
|-
|violence|| [[File:PEGI rating - violence.gif|35x]]
|}[[Category:Templates]]</noinclude>
Bureaucrats, content-moderator, emailconfirmed, Interface administrators, rollback, Suppressors, Administrators, threadmoderator
4,109

edits