Template:PEGI: Difference between revisions

From Chibi-Robo! Wiki
Jump to navigation Jump to search
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>

Revision as of 02:08, 29 July 2020

{{#vardefine:3|}}{{#vardefine:7|}}{{#vardefine:rating|{{#var:3|{{#var:7|}}}}}} PEGI (Pan European Game Information) is a European video game content rating system.

See https://pegi.info/ for more information about the ratings.

Usage

{{PEGI|7|violence=y}} displays-> {{#vardefine:3|}}{{#vardefine:7|7}}{{#vardefine:rating|{{#var:3|{{#var:7|}}}}}}Gross violence

Param Displays
3 35x
7 35x
violence 35x