Difference between revisions of "GetEarliestRelease"

From Sega Retro

Line 1: Line 1:
 
<div style="display:none;">{{#cargo_query:table=releases
 
<div style="display:none;">{{#cargo_query:table=releases
 
|fields=date
 
|fields=date
|where=name="{{{1}}}" AND console="{{{2}}}"
+
|where=name="{{#replace:{{{1}}}|"|""}}" AND console="{{{2}}}"
 
|format=template
 
|format=template
 
|template=CargoResult
 
|template=CargoResult
Line 11: Line 11:
 
{{#ifexpr: {{#var:valueToCheck}} < {{#var:lowestValue}}|{{#vardefine:lowestValue|{{#var:valueToCheck}}}}|}}
 
{{#ifexpr: {{#var:valueToCheck}} < {{#var:lowestValue}}|{{#vardefine:lowestValue|{{#var:valueToCheck}}}}|}}
 
|}}
 
|}}
|}}</div>{{#var:lowestValue}}{{#vardefine:cargoResult|9999}}<noinclude>{{GetEarliestRelease|18 Wheeler: American Pro Trucker|PS2}}[[Category:Sega Retro templates]]</noinclude>
+
|}}</div>{{#var:lowestValue}}{{#vardefine:cargoResult|9999}}<noinclude>{{GetEarliestRelease|18 Wheeler: American Pro Trucker|PS2}}
 +
 
 +
{{GetEarliestRelease|Evander Holyfield's "Real Deal" Boxing|MD}}[[Category:Sega Retro templates]]</noinclude>

Revision as of 13:41, 17 December 2017