Actions

Template

Difference between revisions of "GameList"

From NEC Retro

m (Text replacement - "Category:NEC Retro templates" to "Category:Templates")
 
(One intermediate revision by one other user not shown)
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}}
Line 39: Line 40:
 
"region2" is a fall-back for Europe. e.g. if there's no data for the UK, try EU.
 
"region2" is a fall-back for Europe. e.g. if there's no data for the UK, try EU.
  
[[Category:NEC Retro templates]]</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 12:12, 1 January 2022

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.