Difference between revisions of "GameList"
From Sega Retro
Line 1: | Line 1: | ||
{{#vardefine:formatlong|{{Code2Format|{{{format}}}}}}}{{#vardefine:norrp|{{{norrp|}}}}}{{#vardefine:nocatalog|{{{nocatalog|}}}}}{{#vardefine:norating|{{{norating|}}}}}{{#vardefine:formatoverride|{{{format2|}}}}}{{GameListTable| | {{#vardefine:formatlong|{{Code2Format|{{{format}}}}}}}{{#vardefine:norrp|{{{norrp|}}}}}{{#vardefine:nocatalog|{{{nocatalog|}}}}}{{#vardefine:norating|{{{norating|}}}}}{{#vardefine:formatoverride|{{{format2|}}}}}{{GameListTable| | ||
{{#dpl: | {{#dpl: | ||
− | |categorymatch={{{region}}} {{#var:formatlong}} games | + | |categorymatch={{#ifeq:{{{demo|}}}|yes||{{{region}}}}} {{#var:formatlong}} {{#ifeq:{{{demo|}}}|yes|demo discs|games}} |
|categorymatch={{#if:{{{download|}}}|Download-only {{#var:formatlong}} games|}} | |categorymatch={{#if:{{{download|}}}|Download-only {{#var:formatlong}} games|}} | ||
|notcategorymatch={{#if:{{{download|}}}||Download-only {{#var:formatlong}} games}} | |notcategorymatch={{#if:{{{download|}}}||Download-only {{#var:formatlong}} games}} | ||
Line 13: | Line 13: | ||
|mode=userformat | |mode=userformat | ||
|secseparators={{GameListTable/Secseparators}} | |secseparators={{GameListTable/Secseparators}} | ||
− | }} | + | }}<!-- we query twice because of DPL count limits --> |
{{#dpl: | {{#dpl: | ||
− | |categorymatch={{{region}}} {{#var:formatlong}} games | + | |categorymatch={{#ifeq:{{{demo|}}}|yes||{{{region}}}}} {{#var:formatlong}} {{#ifeq:{{{demo|}}}|yes|demo discs|games}} |
|categorymatch={{#if:{{{download|}}}|Download-only {{#var:formatlong}} games|}} | |categorymatch={{#if:{{{download|}}}|Download-only {{#var:formatlong}} games|}} | ||
|notcategorymatch={{#if:{{{download|}}}||Download-only {{#var:formatlong}} games}} | |notcategorymatch={{#if:{{{download|}}}||Download-only {{#var:formatlong}} games}} |
Revision as of 08:00, 31 August 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.