Difference between revisions of "OmniPrereleases"

From Sega Retro

Line 1: Line 1:
{{TODO}}
+
<includeonly><div style="display:none;">{{#vardefine:gamename|{{{1|}}}}}
I reckon I can automate the prereleases section of the omni templates. Maybe.
 
 
 
{{#vardefine:gamename|Taz in Escape from Mars}}
 
 
 
 
{{#cargo_query:
 
{{#cargo_query:
 
tables=prototypes,codeformat
 
tables=prototypes,codeformat
Line 14: Line 10:
 
|template=OmniPrereleases/Cargo
 
|template=OmniPrereleases/Cargo
 
}}
 
}}
 
+
</div>{{#vardefine:output|<!--loop through systems-->
<!--loop through systems-->
 
 
{{#vardefine:j|0}}
 
{{#vardefine:j|0}}
 
{{#while:
 
{{#while:
 
| {{#if:{{#explode:{{#var:systems}}|,|{{#var:j}}}}|true}}
 
| {{#if:{{#explode:{{#var:systems}}|,|{{#var:j}}}}|true}}
| {{#vardefine:newsystem|yes}}{{#vardefine:currentsystem|{{#explode:{{#var:systems}}|,|{{#var:j}}}}}}  
+
| <div style="display:inline;">{{#vardefine:newsystem|yes}}{{#vardefine:currentsystem|{{#explode:{{#var:systems}}|,|{{#var:j}}}}}}
 
 
 
<!--loop through prototypes-->
 
<!--loop through prototypes-->
<div style="display:inline;">
+
{{#vardefine:i|0}}{{
{{#vardefine:i|0}}
+
#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:{{#var:names_{{#var:currentsystem}}}}|¦|{{#var:i}}}}}}
{{#if:{{#var:newsystem}}|<br/>{{#vardefine:lastyear|}}{{ {{#var:currentsystem}} }} Prototypes:{{#vardefine:newsystem|}}}} [[{{#var:gamename}} ({{#var:output}})|{{OmniPrereleases/FormatName|{{#var:output}}}}]] {{!}}<nowiki> </nowiki>
+
{{#if:{{#var:newsystem}}|<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}}
 
}}
 
}}
</div>
+
</div>{{incvar|j}}
{{incvar|j}}
+
}}}}{{#var:output}}</includeonly><noinclude>
}}
+
{{TODO}}
 +
I reckon I can automate the prereleases section of the omni templates. Maybe.
 +
 
 +
{{OmniPrereleases|Taz in Escape from Mars}}
  
[[Category:Templates]]
+
[[Category:Templates]]</noinclude>

Revision as of 13:44, 3 March 2022


Clock.svg
This task is unfinished
This is a wiki task that requires more thought or peer review. An important issue that needs to be solved, which will appear at the top of Sega Retro:Todo until this message is removed.

I reckon I can automate the prereleases section of the omni templates. Maybe.


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