Actions

Template

Difference between revisions of "GameList"

From NEC Retro

Line 1: Line 1:
{{#vardefine:formatlong|{{Code2Format|{{{format}}}}}}}{{#vardefine:norrp|{{{norrp|}}}}}{{#vardefine:nocatalog|{{{nocatalog|}}}}}{{#vardefine:norating|{{{norating|}}}}}{{#vardefine:formatoverride|{{{format2|}}}}}{{GameListTable|
+
{{#vardefine:formatlong|{{#replace:{{Code2Format|{{{format}}}}}|i-mode|I-mode}}}}{{#vardefine:norrp|{{{norrp|}}}}}{{#vardefine:nocatalog|{{{nocatalog|}}}}}{{#vardefine:norating|{{{norating|}}}}}{{#vardefine:formatoverride|{{{format2|}}}}}
 +
{{GameListTable|
 
{{#dpl:
 
{{#dpl:
 
|categorymatch={{#ifeq:{{{demo|}}}|yes||{{#if:{{{ignoreregion|}}}||{{{region}}}}}}} {{#var:formatlong}} {{#ifeq:{{{demo|}}}|yes|demo discs|games}}
 
|categorymatch={{#ifeq:{{{demo|}}}|yes||{{#if:{{{ignoreregion|}}}||{{{region}}}}}}} {{#var:formatlong}} {{#ifeq:{{{demo|}}}|yes|demo discs|games}}

Revision as of 15:34, 31 December 2021

Title Release Date RRP Catalog Num. Rating

Template for listing games.

Usage

{{GameList
| format=
| region=
| region2=
}}

"region2" is a fall-back for Europe. e.g. if there's no data for the UK, try EU.