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:16|{{#if:{{{16|{{#ifeq:{{{1|}}}|16|y}}}}}|16}}}}{{#vardefine:18|{{#if:{{{18|{{#ifeq:{{{1|}}}|18|y}}}}}|18}}}}{{#vardefine:rating|{{#var:16|{{#var:18|}}}}}}<!--
{{#vardefine:16|{{#if:{{{16|{{#ifeq:{{{1|}}}|16|y}}}}}|16}}}}{{#vardefine:18|{{#if:{{{18|{{#ifeq:{{{1|}}}|18|y}}}}}|18}}}}{{#vardefine:rating|{{#var:16|{{#var:18|}}}}}}<!--
-->{{#switch:{{#var:rating}}<!--
-->{{#switch:{{#var:rating}}<!--
-->|16|18=[[File:PEGI rating - {{#var:rating}}.gif|35x|PEGI {{#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]]}}
-->{{#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 14: Line 14:
! Param !! Displays
! Param !! Displays
|-
|-
|16 || [[File:PEGI rating - 3.gif|35x]]
|16 || [[File:PEGI rating - 3.gif||35x]]
|-
|-
|18 || [[File:PEGI rating - 7.gif|35x]]
|18 || [[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>

Revision as of 01:54, 29 July 2020

{{#vardefine:16|}}{{#vardefine:18|}}{{#vardefine:rating|{{#var:16|{{#var:18|}}}}}}

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|18|violence=y}} displays-> {{#vardefine:16|}}{{#vardefine:18|18}}{{#vardefine:rating|{{#var:16|{{#var:18|}}}}}}Gross violence

Param Displays
16 [[File:PEGI rating - 3.gif 35x]]
18 [[File:PEGI rating - 7.gif 35x]]
violence [[File:PEGI rating - violence.gif 35x]]