Difference between revisions of "ReleasesHC"

From Sega Retro

m (Text replacement - "0=\[\[Category:(.*) games\]\]" to "0=Category:$1 games{{genre2cat|$1|notsega=yes}}")
 
(33 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{releasesRow|Amiga|US|{{{amiga_date_us|}}}|${{{amiga_rrp_us|?}}}|{{{amiga_code_us|?}}}}}
+
<includeonly>{{#vardefine:sysmatch|}}{{#vardefine:syslist|amiga,st,cpc,c64,spectrum,dos,msx,apple2,a8b,bbc,c16,vic20,ti99,dragon,trs,trscoco,adam,macsystem1,macsystem6,ts1000,mo5}}{{#vardefine:rgnlist|{{Template:Regions/Classic}}}}{{clearvar|retail}}{{#vardefine:year|9999}}
{{releasesRow|Amiga|UK|{{{amiga_date_uk|}}}|£{{{amiga_rrp_uk|?}}}|{{{amiga_code_uk|?}}}}}
+
{{#vardefine:i|0}}{{#while:
{{releasesRow|Amiga|UK|{{{amiga_date_uk_1|}}}|£{{{amiga_rrp_uk_1|?}}}|{{{amiga_code_uk_1|?}}}|type={{{amiga_type_uk_1|}}}}}
+
| {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}}
{{releasesRow|Amiga|UK|{{{amiga_date_uk_2|}}}|£{{{amiga_rrp_uk_2|?}}}|{{{amiga_code_uk_2|?}}}|type={{{amiga_type_uk_2|}}}}}
+
|  
{{releasesRow|Amiga|FR|{{{amiga_date_fr|}}}|{{{amiga_rrp_fr|?}}}FF|{{{amiga_code_fr|?}}}}}
+
{{#vardefine:j|0}}{{#while:
{{releasesRow|Amiga|DE|{{{amiga_date_de|}}}|{{{amiga_rrp_de|?}}}DM|{{{amiga_code_de|?}}}}}
+
| {{#vardefine:rgn|{{#explode:{{#var:rgnlist}}|,|{{#var:j}}}}}}{{#var:rgn}}
{{releasesRow|Amiga|ES|{{{amiga_date_es|}}}|{{{amiga_rrp_es|?}}}Ptas|{{{amiga_code_es|?}}}}}
+
|  
{{releasesRow|Amiga|EU|{{{amiga_date_eu|}}}{{{amiga_rrp_uk|?}}}|{{{amiga_code_eu|?}}}}}
 
{{releasesRow|ST|US|{{{st_date_us|}}}|${{{st_rrp_us|?}}}|{{{st_code_us|?}}}}}
 
{{releasesRow|ST|UK|{{{st_date_uk|}}}|£{{{st_rrp_uk|?}}}|{{{st_code_uk|?}}}}}
 
{{releasesRow|ST|UK|{{{st_date_uk_1|}}}|£{{{st_rrp_uk_1|?}}}|{{{st_code_uk_1|?}}}|type={{{st_type_uk_1|}}}}}
 
{{releasesRow|ST|UK|{{{st_date_uk_2|}}}|£{{{st_rrp_uk_2|?}}}|{{{st_code_uk_2|?}}}|type={{{st_type_uk_2|}}}}}
 
{{releasesRow|ST|FR|{{{st_date_fr|}}}|{{{st_rrp_fr|?}}}FF|{{{st_code_fr|?}}}}}
 
{{releasesRow|ST|DE|{{{st_date_de|}}}|{{{st_rrp_de|?}}}DM|{{{st_code_de|?}}}}}
 
{{releasesRow|ST|ES|{{{st_date_es|}}}|{{{st_rrp_es|?}}}Ptas|{{{st_code_es|?}}}}}
 
{{releasesRow|ST|EU|{{{st_date_eu|}}}|£{{{st_rrp_uk|?}}}|{{{st_code_eu|?}}}}}
 
{{releasesRow|CPC|UK|{{{cpc_date_uk_c|}}}|£{{{cpc_rrp_uk_c|?}}}|{{{cpc_code_uk_c|?}}}|type=Cassette}}
 
{{releasesRow|CPC|UK|{{{cpc_date_uk_d|}}}|£{{{cpc_rrp_uk_d|?}}}|{{{cpc_code_uk_d|?}}}|type=Disk}}
 
{{releasesRow|CPC|UK|{{{cpc_date_uk_1|}}}|£{{{cpc_rrp_uk_1|?}}}|{{{cpc_code_uk_1|?}}}|type={{{cpc_type_uk_1|}}}}}
 
{{releasesRow|CPC|UK|{{{cpc_date_uk_2|}}}|£{{{cpc_rrp_uk_2|?}}}|{{{cpc_code_uk_2|?}}}|type={{{cpc_type_uk_2|}}}}}
 
{{releasesRow|CPC|FR|{{{cpc_date_fr_c|}}}|{{{cpc_rrp_fr_c|?}}}FF|{{{cpc_code_fr_c|?}}}|type=Cassette}}
 
{{releasesRow|CPC|FR|{{{cpc_date_fr_d|}}}|{{{cpc_rrp_fr_d|?}}}FF|{{{cpc_code_fr_d|?}}}|type=Disk}}
 
{{releasesRow|CPC|DE|{{{cpc_date_de_c|}}}|{{{cpc_rrp_de_c|?}}}DM|{{{cpc_code_de_c|?}}}|type=Cassette}}
 
{{releasesRow|CPC|DE|{{{cpc_date_de_d|}}}|{{{cpc_rrp_de_d|?}}}DM|{{{cpc_code_de_d|?}}}|type=Disk}}
 
{{releasesRow|CPC|ES|{{{cpc_date_es_c|}}}|{{{cpc_rrp_es_c|?}}}Ptas|{{{cpc_code_es_c|?}}}|type=Cassette}}
 
{{releasesRow|CPC|ES|{{{cpc_date_es_d|}}}|{{{cpc_rrp_es_d|?}}}Ptas|{{{cpc_code_es_d|?}}}|type=Disk}}
 
{{releasesRow|CPC|EU|{{{cpc_date_eu|}}}|£{{{cpc_rrp_uk|?}}}|{{{cpc_code_eu|?}}}}}
 
{{releasesRow|C64|US|{{{c64_date_us|}}}|${{{c64_rrp_us|?}}}|{{{c64_code_us|?}}}|type=Cartridge}}
 
{{releasesRow|C64|US|{{{c64_date_us_d|}}}|${{{c64_rrp_us_d|?}}}|{{{c64_code_us_d|?}}}|type=Disk}}
 
{{releasesRow|C64|UK|{{{c64_date_uk_c|}}}|£{{{c64_rrp_uk_c|?}}}|{{{c64_code_uk_c|?}}}|type=Cassette}}
 
{{releasesRow|C64|UK|{{{c64_date_uk_d|}}}|£{{{c64_rrp_uk_d|?}}}|{{{c64_code_uk_d|?}}}|type=Disk}}
 
{{releasesRow|C64|UK|{{{c64_date_uk_1|}}}|£{{{c64_rrp_uk_1|?}}}|{{{c64_code_uk_1|?}}}|type={{{c64_type_uk_1|}}}}}
 
{{releasesRow|C64|UK|{{{c64_date_uk_2|}}}|£{{{c64_rrp_uk_2|?}}}|{{{c64_code_uk_2|?}}}|type={{{c64_type_uk_2|}}}}}
 
{{releasesRow|C64|FR|{{{c64_date_fr_c|}}}|{{{c64_rrp_fr_c|?}}}FF|{{{c64_code_fr_c|?}}}|type=Cassette}}
 
{{releasesRow|C64|FR|{{{c64_date_fr_d|}}}|{{{c64_rrp_fr_d|?}}}FF|{{{c64_code_fr_d|?}}}|type=Disk}}
 
{{releasesRow|C64|DE|{{{c64_date_de_c|}}}|{{{c64_rrp_de_c|?}}}DM|{{{c64_code_de_c|?}}}|type=Cassette}}
 
{{releasesRow|C64|DE|{{{c64_date_de_d|}}}|{{{c64_rrp_de_d|?}}}DM|{{{c64_code_de_d|?}}}|type=Disk}}
 
{{releasesRow|C64|ES|{{{c64_date_es_c|}}}|{{{c64_rrp_es_c|?}}}Ptas|{{{c64_code_es_c|?}}}|type=Cassette}}
 
{{releasesRow|C64|ES|{{{c64_date_es_d|}}}|{{{c64_rrp_es_d|?}}}Ptas|{{{c64_code_es_d|?}}}|type=Disk}}
 
{{releasesRow|C64|EU|{{{c64_date_eu|}}}|£{{{c64_rrp_uk|?}}}|{{{c64_code_eu|?}}}}}
 
{{releasesRow|Spectrum|UK|{{{spectrum_date_uk_c|}}}|£{{{spectrum_rrp_uk_c|?}}}|{{{spectrum_code_uk_c|?}}}|type=Cassette}}
 
{{releasesRow|Spectrum|UK|{{{spectrum_date_uk_d|}}}|£{{{spectrum_rrp_uk_d|?}}}|{{{spectrum_code_uk_d|?}}}|type=Disk}}
 
{{releasesRow|Spectrum|UK|{{{spectrum_date_uk_1|}}}|£{{{spectrum_rrp_uk_1|?}}}|{{{spectrum_code_uk_1|?}}}|type={{{spectrum_type_uk_1|}}}}}
 
{{releasesRow|Spectrum|UK|{{{spectrum_date_uk_2|}}}|£{{{spectrum_rrp_uk_2|?}}}|{{{spectrum_code_uk_2|?}}}|type={{{spectrum_type_uk_2|}}}}}
 
{{releasesRow|Spectrum|FR|{{{spectrum_date_fr_c|}}}|{{{spectrum_rrp_fr_c|?}}}FF|{{{spectrum_code_fr_c|?}}}|type=Cassette}}
 
{{releasesRow|Spectrum|FR|{{{spectrum_date_fr_d|}}}|{{{spectrum_rrp_fr_d|?}}}FF|{{{spectrum_code_fr_d|?}}}|type=Disk}}
 
{{releasesRow|Spectrum|DE|{{{spectrum_date_de_c|}}}|{{{spectrum_rrp_de_c|?}}}DM|{{{spectrum_code_de_c|?}}}|type=Cassette}}
 
{{releasesRow|Spectrum|DE|{{{spectrum_date_de_d|}}}|{{{spectrum_rrp_de_d|?}}}DM|{{{spectrum_code_de_d|?}}}|type=Disk}}
 
{{releasesRow|Spectrum|ES|{{{spectrum_date_es_c|}}}|{{{spectrum_rrp_es_c|?}}}Ptas|{{{spectrum_code_es_c|?}}}|type=Cassette}}
 
{{releasesRow|Spectrum|ES|{{{spectrum_date_es_d|}}}|{{{spectrum_rrp_es_d|?}}}Ptas|{{{spectrum_code_es_d|?}}}|type=Disk}}
 
{{releasesRow|Spectrum|EU|{{{spectrum_date_eu|}}}|£{{{spectrum_rrp_uk|?}}}|{{{spectrum_code_eu|?}}}}}
 
|-
 
| style="display:none" |
 
<!-- Games -->
 
{{#ifeq: {{#var:type}} | 0 |  
 
  
{{#if: {{{amiga_date_us|}}}{{{amiga_date_uk|}}}{{{amiga_date_fr|}}}{{{amiga_date_de|}}}{{{amiga_date_es|}}}{{{amiga_date_eu|}}} | [[Category:Amiga games]] }}
+
{{#forargs: {{#var:sys}}_date_{{#var:rgn}} | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{#vardefine:typ1|{{#explode:{{#var:typ}}|_|1}}}}{{#vardefine:typ2|{{#explode:{{#var:typ}}|_|2}}}}
 +
{{releasesRowPlus
 +
| console={{uc:{{#var:sys}}}}
 +
| region={{uc:{{#var:rgn}}}}
 +
| date={{#var:dat}}
 +
| price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}}
 +
| code2={{{{{#var:sys}}_code2_{{#var:rgn}}{{#var:typ}}|}}}
 +
| type={{#switch:{{#var:typ1}}
 +
  |c=Cassette
 +
  |d=Disk
 +
  |{{#if:{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{#var:typ1}}}}
 +
  }}
 +
| rating={{{{{#var:sys}}_rating_{{#var:rgn}}{{#var:typ}}|}}}
 +
}}
 +
}}
  
{{#if: {{{st_date_us|}}}{{{st_date_uk|}}}{{{st_date_fr|}}}{{{st_date_de|}}}{{{st_date_es|}}}{{{st_date_eu|}}} | [[Category:Atari ST games]] }}
+
{{incvar|j}}
 
+
}}
{{#if: {{{cpc_date_uk_c|}}}{{{cpc_date_uk_d|}}}{{{cpc_date_fr_c|}}}{{{cpc_date_fr_d|}}}{{{cpc_date_de_c|}}}{{{cpc_date_de_d|}}}{{{cpc_date_es_c|}}}{{{cpc_date_es_d|}}}{{{cpc_date_eu|}}} | [[Category:Amstrad CPC games]] }}
+
{{incvar|i}}
 
+
{{#if:{{#var:sysmatch}}|{{#vardefine:formatfull|{{Code2Format|{{#var:sys}}}}}}
{{#if: {{{c64_date_us|}}}{{{c64_date_us_d|}}}{{{c64_date_uk_c|}}}{{{c64_date_uk_d|}}}{{{c64_date_fr_c|}}}{{{c64_date_fr_d|}}}{{{c64_date_de_c|}}}{{{c64_date_de_d|}}}{{{c64_date_es_c|}}}{{{c64_date_es_d|}}}{{{c64_date_eu|}}} | [[Category:Commodore 64 games]] }}
+
{{#switch:{{#var:type}}
 
+
| 0=[[Category:{{#var:formatfull}} games]]{{genre2cat|{{#var:formatfull}}|notsega=yes}}{{ReleasesYearCheck|{{#var:year}}|{{#var:formatfull}}}}
{{#if: {{{spectrum_date_uk_c|}}}{{{spectrum_date_uk_d|}}}{{{spectrum_date_fr_c|}}}{{{spectrum_date_fr_d|}}}{{{spectrum_date_de_c|}}}{{{spectrum_date_de_d|}}}{{{spectrum_date_es_c|}}}{{{spectrum_date_es_d|}}}{{{spectrum_date_eu|}}} | [[Category:ZX Spectrum games]] }}
+
| 1=
 
+
| 2=
| }}
+
}}|}}{{#vardefine:sysmatch|}}
 
+
}}
<!-- Accessories -->
+
</includeonly><noinclude>
{{#ifeq: {{#var:type}} | 1 |  | }}
 
 
 
<!-- Consoles -->
 
{{#ifeq: {{#var:type}} | 2 |  | }}
 
  
|-
+
See [[Template:Releases/Usage]] for how to use. Japanese home computers have been moved to [[Template:ReleasesHCJP]].
| style="display:none" |
 
|-
 
</includeonly><noinclude>
 
See [[Template:Releases/Usage]] for how to use.
 
  
 
[[Category:Releases templates]]</noinclude>
 
[[Category:Releases templates]]</noinclude>

Latest revision as of 05:43, 15 July 2024


See Template:Releases/Usage for how to use. Japanese home computers have been moved to Template:ReleasesHCJP.