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|}}}}}
+
{{#vardefine:formatlong|{{Code2Format|{{{format}}}}}}}{{#vardefine:norrp|{{{norrp|}}}}}{{#vardefine:nocatalog|{{{nocatalog|}}}}}{{#vardefine:norating|{{{norating|}}}}}{{#vardefine:formatoverride|{{{format2|}}}}}{{GameListTable|
 
 
{{GameListTable/Include|system={{{format}}}|region={{lc:{{{region}}}{{#if:{{{download|}}}{{{disk|}}}|_d|{{#if:{{{cassette|}}}{{{card|}}}|_c|}}}}}}|region2={{lc:{{{region2}}}{{#if:{{{download|}}}{{{disk|}}}|_d|{{#if:{{{cassette|}}}{{{card|}}}|_c|}}}}}}}}
 
 
 
{{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 11:43, 28 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.