Difference between revisions of "ReleasesGG"

From Sega Retro

m
Line 1: Line 1:
<includeonly>{{releasesRow|GG|JP|{{{gg_date_jp|}}}|{{{gg_rrp_jp|?}}}[[Category:JP Game Gear games]]|{{{gg_code_jp|?}}}}}
+
<includeonly>{{#vardefine:syslist|gg}}{{#vardefine:rgnlist|{{Regions/Classic}}}}{{#vardefine:year|9999}}
{{releasesRow|GG|JP|{{{gg_date_jp_1|}}}|{{{gg_rrp_jp_1|?}}}[[Category:JP Game Gear games]]|{{{gg_code_jp_1|?}}}|type={{{gg_type_jp_1|}}}}}
+
{{#vardefine:i|0}}{{#while:
{{releasesRow|GG|JP|{{{gg_date_jp_m|}}}|{{{gg_rrp_jp_m|?}}}|{{{gg_code_jp_m|?}}}|type=[[Meisaku Collection|Meisaku]]}}
+
| {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}}
{{releasesRow|GG|US|{{{gg_date_us|}}}|{{{gg_rrp_us|?}}}[[Category:US Game Gear games]]|{{{gg_code_us|?}}}}}
+
|  
{{releasesRow|GG|US|{{{gg_date_us_1|}}}|{{{gg_rrp_us_1|?}}}|{{{gg_code_us_1|?}}}|type={{{gg_type_us_1|}}}}}
+
{{#vardefine:j|0}}{{#while:
{{releasesRow|GG|US|{{{gg_date_us_2|}}}|{{{gg_rrp_us_2|?}}}|{{{gg_code_us_2|?}}}|type={{{gg_type_us_2|}}}}}
+
| {{#vardefine:rgn|{{#explode:{{#var:rgnlist}}|,|{{#var:j}}}}}}{{#var:rgn}}
{{releasesRow|GG|US|{{{gg_date_us_m|}}}|{{{gg_rrp_us_m|?}}}[[Category:US Game Gear games]]|{{{gg_code_us_m|?}}}|type=[[Majesco]]}}
+
|  
{{releasesRow|GG|CA|{{{gg_date_ca|}}}|{{{gg_rrp_ca|?}}}|{{{gg_code_ca|?}}}}}
 
<!-- {{releasesRow|GG|EU|{{{gg_date_eu|}}}|{{{gg_rrp_uk|?}}}|{{{gg_code_eu|?}}}}} -->
 
{{releasesRow|GG|EU|{{{gg_date_eu_1|}}}|{{{gg_rrp_uk_1|?}}}|{{{gg_code_eu_1|?}}}|type={{{gg_type_eu_1|}}}}}
 
{{releasesRow|GG|EU|{{{gg_date_eu_c|}}}|{{{gg_rrp_uk_c|?}}}|{{{gg_code_eu_c|?}}}|type=[[Classic Game Gear|Classic]]}}
 
  
{{releasesRow|GG|UK|{{#if:{{{gg_date_uk|}}}|{{{gg_date_uk|}}}|{{{gg_date_eu|}}}}}|{{{gg_rrp_uk|?}}}[[Category:UK Game Gear games]]|{{#if:{{{gg_code_uk|}}}|{{{gg_code_uk|}}}|{{{gg_code_eu|}}}}}}}
+
{{#forargs: {{#var:sys}}_date_{{#var:rgn}} | typ | dat |  
{{releasesRow|GG|FR|{{#if:{{{gg_date_fr|}}}|{{{gg_date_fr|}}}|{{{gg_date_eu|}}}}}|{{{gg_rrp_fr|?}}}[[Category:FR Game Gear games]]|{{#if:{{{gg_code_fr|}}}|{{{gg_code_fr|}}}|{{{gg_code_eu|}}}}}}}
+
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
{{releasesRow|GG|DE|{{#if:{{{gg_date_de|}}}|{{{gg_date_de|}}}|{{{gg_date_eu|}}}}}|{{{gg_rrp_de|?}}}[[Category:DE Game Gear games]]|{{#if:{{{gg_code_de|}}}|{{{gg_code_de|}}}|{{{gg_code_eu|}}}}}}}
+
{{releasesRowPlus
{{releasesRow|GG|ES|{{#if:{{{gg_date_es|}}}|{{{gg_date_es|}}}|{{{gg_date_eu|}}}}}|{{{gg_rrp_es|?}}}[[Category:ES Game Gear games]]|{{#if:{{{gg_code_es|}}}|{{{gg_code_es|}}}|{{{gg_code_eu|}}}}}}}
+
| console=GG
{{releasesRow|GG|IT|{{#if:{{{gg_date_it|}}}|{{{gg_date_it|}}}|{{{gg_date_eu|}}}}}|{{{gg_rrp_it|?}}}[[Category:IT Game Gear games]]|{{#if:{{{gg_code_it|}}}|{{{gg_code_it|}}}|{{{gg_code_eu|}}}}}}}
+
| 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={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 +
  |c=[[Classic Game Gear|Classic]]
 +
  |m={{#switch:{{#var:rgn}}|jp=[[Meisaku Collection|Meisaku]]|us=[[Majesco]]}}
 +
  |{{#if:{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=
 +
| rating={{{{{#var:sys}}_rating_{{#var:rgn}}{{#var:typ}}|}}}
 +
}}
 +
}}
  
{{releasesRow|GG|PT|{{{gg_date_pt|}}}|{{{gg_rrp_pt|?}}}[[Category:PT Game Gear games]]|{{{gg_code_pt|?}}}}}
+
{{incvar|j}}
{{releasesRow|GG|GR|{{{gg_date_gr|}}}|{{{gg_rrp_gr|?}}}[[Category:GR Game Gear games]]|{{{gg_code_gr|?}}}}}
+
}}
{{releasesRow|GG|HU|{{{gg_date_hu|}}}|{{{gg_rrp_hu|?}}}[[Category:HU Game Gear games]]|{{{gg_code_hu|?}}}}}
+
{{incvar|i}}
{{releasesRow|GG|BR|{{{gg_date_br|}}}|{{{gg_rrp_br|?}}}[[Category:BR Game Gear games]]|{{{gg_code_br|?}}}}}
+
}}
{{releasesRow|GG|KR|{{{gg_date_kr|}}}|{{{gg_rrp_kr|?}}}[[Category:KR Game Gear games]]|{{{gg_code_kr|?}}}}}
+
{{#switch:{{#var:type}}
{{releasesRow|GG|TW|{{{gg_date_tw|}}}|{{{gg_rrp_tw|?}}}|{{{gg_code_tw|?}}}}}
+
| 0=[[Category:Game Gear games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} Game Gear games]]}}{{genre2cat|Game Gear}}
{{releasesRow|GG|AS|{{{gg_date_as|}}}|{{{gg_rrp_as|?}}}|{{{gg_code_as|?}}}}}
+
| 1=[[Category:Game Gear accessories]]
{{releasesRow|GG|AU|{{{gg_date_au|}}}|{{{gg_rrp_au|?}}}|{{{gg_code_au|?}}}}}
+
| 2=[[Category:Game Gear hardware]]
{{releasesRow|GG|MX|{{{gg_date_mx|}}}|{{{gg_rrp_mx|?}}}|{{{gg_code_mx|?}}}}}
+
}}
{{releasesRow|GG|SE|{{{gg_date_se|}}}|{{{gg_rrp_se|?}}}|{{{gg_code_se|?}}}}}
 
|-
 
| style="display:none" |
 
<!-- Games -->
 
{{#ifeq: {{#var:type}} | 0 | [[Category:Game Gear games]]
 
 
 
{{#vardefine:year|{{lowest
 
|{{year|{{{gg_date_jp}}}}}
 
|{{year|{{{gg_date_eu}}}}}
 
|{{year|{{{gg_date_uk}}}}}
 
|{{year|{{{gg_date_de}}}}}
 
|{{year|{{{gg_date_es}}}}}
 
|{{year|{{{gg_date_fr}}}}}
 
|{{year|{{{gg_date_it}}}}}
 
|{{year|{{{gg_date_us}}}}}
 
|{{year|{{{gg_date_br}}}}}
 
|{{year|{{{gg_date_kr}}}}}
 
|{{year|{{{gg_date_tw}}}}}
 
|{{year|{{{gg_date_as}}}}}
 
|{{year|{{{gg_date_au}}}}}
 
}}}}
 
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} Game Gear games]] }}
 
 
 
{{#if: {{{gg_date_jp|}}} | {{#if: {{{gg_date_eu|}}}{{{gg_date_uk|}}}{{{gg_date_de|}}}{{{gg_date_es|}}}{{{gg_date_fr|}}}{{{gg_date_it|}}}{{{gg_date_us|}}}{{{gg_date_br|}}}{{{gg_date_kr|}}}{{{gg_date_tw|}}} | | [[Category:Japan-only Game Gear games]] }} }}
 
 
 
{{genre2cat|Game Gear}}
 
 
 
| }}
 
 
 
<!-- Accessories -->
 
{{#ifeq: {{#var:type}} | 1 | [[Category:Game Gear accessories]] | }}
 
 
 
<!-- Consoles -->
 
{{#ifeq: {{#var:type}} | 2 | [[Category:Game Gear hardware]] | }}
 
 
 
|-
 
| style="display:none" |
 
|-
 
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
See [[Template:Releases/Usage]] for how to use.
 
See [[Template:Releases/Usage]] for how to use.
  
 
[[Category:Releases templates]]</noinclude>
 
[[Category:Releases templates]]</noinclude>

Revision as of 22:13, 27 April 2020

See Template:Releases/Usage for how to use.