Template:PEGI: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
{{#vardefine:3|{{#if:{{{3|{{#ifeq:{{{1|}}}|3|y}}}}}|3}}}}{{#vardefine:7|{{#if:{{{7|{{#ifeq:{{{1|}}}|7|y}}}}}|7}}}}{{#vardefine:rating|{{#var:3|{{#var:7|}}}}}}<!--
{{#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}}<!--
-->|3|7=[[File:PEGI rating - {{#var:rating}}.gif|35x|PEGI {{#var:rating}}]]<!--
-->|3|7=[[File:PEGI rating - {{#var:rating}}.png|35x|PEGI {{#var:rating}}]]<!--
-->}}<!--
-->}}<!--
-->{{#if:{{{violence|}}}|[[File:PEGI rating - violence.gif|35x|{{#if:{{#var:7}}|Gross v|V}}iolence]]}}<noinclude>
-->{{#if:{{{violence|}}}|[[File:PEGI rating - violence.png|35x|{{#if:{{#var:7}}|Gross v|V}}iolence]]}}<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 13: Line 13:
! Param !! Displays
! Param !! Displays
|-
|-
|3 || [[File:PEGI rating - 3.gif|35x]]
|3 || [[File:PEGI rating - 3.png|35x]]
|-
|-
|7 || [[File:PEGI rating - 7.gif|35x]]
|7 || [[File:PEGI rating - 7.png|35x]]
|-
|-
|violence|| [[File:PEGI rating - violence.gif|35x]]
|violence|| [[File:PEGI rating - violence.png|35x]]
|}[[Category:Templates]]</noinclude>
|}[[Category:Templates]]</noinclude>
Bureaucrats, content-moderator, emailconfirmed, Interface administrators, rollback, Suppressors, Administrators, threadmoderator
4,109

edits