Difference between revisions of "GameList"

From Sega Retro

Line 3: Line 3:
 
|categorymatch={{{region}}} {{#var:formatlong}} games
 
|categorymatch={{{region}}} {{#var:formatlong}} games
 
|notcategorymatch=Unlicensed {{#var:formatlong}} games
 
|notcategorymatch=Unlicensed {{#var:formatlong}} games
|notcategorymatch=Download-only {{#var:formatlong}} games
+
|categorymatch={{#if:{{{download|}}}|Download-only {{#var:formatlong}} games|}}
 +
|notcategorymatch={{#if:{{{download|}}}||Download-only {{#var:formatlong}} games}}
 
|notcategorymatch={{#var:formatlong}} accessories
 
|notcategorymatch={{#var:formatlong}} accessories
 
|notcategorymatch={{#var:formatlong}} hardware
 
|notcategorymatch={{#var:formatlong}} hardware
 
|notcategorymatch={{#var:formatlong}} aftermarket games
 
|notcategorymatch={{#var:formatlong}} aftermarket games
 
|ordermethod=title
 
|ordermethod=title
|include={{GameListTable/Include|system={{{format}}}|region={{lc:{{{region}}}}}|region2={{lc:{{{region2}}}}}}}
+
|include={{GameListTable/Include|system={{{format}}}|region={{lc:{{{region}}}{{#if:{{{download|}}}|_d|}}}}|region2={{lc:{{{region2}}}{{#if:{{{download|}}}|_d|}}}}}}
 
|mode=userformat
 
|mode=userformat
 
|secseparators={{GameListTable/Secseparators}}
 
|secseparators={{GameListTable/Secseparators}}
Line 21: Line 22:
 
}}</pre>
 
}}</pre>
 
"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:Sega Retro templates]]</noinclude>
 
[[Category:Sega Retro templates]]</noinclude>

Revision as of 14:23, 24 April 2021

Extension:DynamicPageList (DPL), version 3.3.3: Warning: No results.

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.