Difference between revisions of "OmniPrereleases"

From Sega Retro

Line 18: Line 18:
 
#while:
 
#while:
 
| {{#if:{{#explode:{{#var:names_{{#var:currentsystem}}}}|¦|{{#var:i}}}}|true}}
 
| {{#if:{{#explode:{{#var:names_{{#var:currentsystem}}}}|¦|{{#var:i}}}}|true}}
| {{#vardefine:output|{{#explode:{{#var:names_{{#var:currentsystem}}}}|¦|{{#var:i}}}}}}
+
| {{#vardefine:output|{{#explode:{{UnformatSQL|{{#var:names_{{#var:currentsystem}}}}}}|¦|{{#var:i}}}}}}
 
{{#if:{{#var:newsystem}}|{{#ifexpr:{{#var:j}}>0|<br/>}}{{#vardefine:lastyear|aaaa}}{{#vardefine:currentyear|bbbb}}{{ {{#var:currentsystem}} }} Prototypes:{{#vardefine:newsystem|}}}} [[{{#var:gamename}} ({{#var:output}})|{{OmniPrereleases/FormatName|{{#var:output}}}}]] {{#if:{{#explode:{{#var:names_{{#var:currentsystem}}}}|¦|{{#expr:{{#var:i}}+1}}}}|{{!}}<nowiki> </nowiki>|}}
 
{{#if:{{#var:newsystem}}|{{#ifexpr:{{#var:j}}>0|<br/>}}{{#vardefine:lastyear|aaaa}}{{#vardefine:currentyear|bbbb}}{{ {{#var:currentsystem}} }} Prototypes:{{#vardefine:newsystem|}}}} [[{{#var:gamename}} ({{#var:output}})|{{OmniPrereleases/FormatName|{{#var:output}}}}]] {{#if:{{#explode:{{#var:names_{{#var:currentsystem}}}}|¦|{{#expr:{{#var:i}}+1}}}}|{{!}}<nowiki> </nowiki>|}}
 
{{incvar|i}}
 
{{incvar|i}}

Revision as of 11:07, 4 October 2022

(Partially) automated section of Template:Omni used to display prototypes. Information comes from Template:Rom.

Examples

{{OmniPrereleases|Taz in Escape from Mars|otherprereleases=whatever}}

Prereleases: whatever


Sega Mega Drive
Prototypes: 1994-03-09 | 04-18 | 05-09 | 05-18 | 05-23 | 06-02 | 06-07 | 06-10 | 06-14 | 06-18 A | 06-20 | 06-24 | 07-06


{{OmniPrereleases|World Series Baseball '95 (Mega Drive)}}

Prereleases: