Difference between revisions of "CargoReleaseList"

From Sega Retro

m (Black Squirrel moved page Template:CargoList to Template:CargoReleaseList without leaving a redirect)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#cargo_query:
+
<includeonly>{{#cargo_query:
 
table={{{table|}}}
 
table={{{table|}}}
|fields={{{fields|}}}
+
|fields=_pageName,date
 
|where={{{query|}}}
 
|where={{{query|}}}
 
|limit=10000
 
|limit=10000
|order by={{{orderby|}}}
+
|order by={{{orderby|date}}}
|group by={{{groupby|}}}
+
|group by=name
 
|format=template
 
|format=template
|template=CargoList/Cargo
+
|template=CargoReleaseList/Cargo
}}<noinclude>[[Category:Sega Retro templates]]</noinclude>
+
}}</includeonly><noinclude>Simplified cargo_query for generating lists of games (with dates). It seemed like a good idea at the time.
 +
 
 +
<pre>{{CargoReleaseList
 +
| table=releases
 +
| query=console="G80"
 +
| orderby=date
 +
}}
 +
</pre>
 +
 
 +
produces:
 +
{{CargoReleaseList
 +
| table=releases
 +
| query=console="G80"
 +
| orderby=date
 +
}}
 +
 
 +
[[Category:Templates]]
 +
 
 +
</noinclude>

Latest revision as of 12:52, 1 January 2022

Simplified cargo_query for generating lists of games (with dates). It seemed like a good idea at the time.

{{CargoReleaseList
| table=releases
| query=console="G80"
| orderby=date
}}

produces: