Difference between revisions of "EventGameHistory"

From Sega Retro

 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
|join on=gameevents.event=events.name
 
|join on=gameevents.event=events.name
 
|where=({{#var:command}}) {{#if:{{{console|}}}|and gameevents.console="{{{console|}}}"}}
 
|where=({{#var:command}}) {{#if:{{{console|}}}|and gameevents.console="{{{console|}}}"}}
 +
|order by=events.startdate
 
|format=template
 
|format=template
 
|template=EventGameHistory/Cargo
 
|template=EventGameHistory/Cargo
 
}}}}</includeonly><noinclude>
 
}}}}</includeonly><noinclude>
{{EventGameHistory|Bug Too|Daytona USA|console=SAT}}
+
A means of listing all the events a video game was present at.
  
[[Category:Sega Retro templates]]
+
==Usage==
 +
<pre>{{EventGameHistory|Skies of Arcadia|Eternal Arcadia|Project Ares|console=DC}}</pre>
 +
 
 +
Returns
 +
 
 +
{{EventGameHistory|Skies of Arcadia|Eternal Arcadia|Project Ares|console=DC}}
 +
 
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:20, 1 January 2022

A means of listing all the events a video game was present at.

Usage

{{EventGameHistory|Skies of Arcadia|Eternal Arcadia|Project Ares|console=DC}}

Returns