Template:PEGI: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
{{#vardefine:16|{{#if:{{{16|{{#ifeq:{{{1|}}}|16|y}}}}}|16}}}}{{#vardefine:18|{{#if:{{{18|{{#ifeq:{{{1|}}}|18|y}}}}}|18}}}}{{#vardefine:rating|{{#var:16|{{#var:18|}}}}}}<!--
{{#vardefine:3|{{#if:{{{3|{{#ifeq:{{{1|}}}|3|y}}}}}|3}}}}{{#vardefine:7|{{#if:{{{7|{{#ifeq:{{{1|}}}|7|y}}}}}|7}}}}{{#vardefine:rating|{{#var:3|{{#var:7|}}}}}}<!--
-->{{#switch:{{#var:rating}}<!--
-->{{#switch:{{#var:rating}}<!--
-->|16|18=[[File:PEGI rating - {{#var:rating}}.gif||35x|PEGI {{#var:rating}}]]<!--
-->|3|7=[[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]]}}
-->{{#if:{{{violence|}}}|[[File:PEGI rating - violence.gif|35x|{{#if:{{#var:7}}|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 10: Line 9:


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

edits