Actions

Template

Difference between revisions of "ReleasesPC98"

From NEC Retro

m (something still aint right)
Line 1: Line 1:
<includeonly>{{#vardefine:syslist|pc98,pc98e,pc98f,pc98m,pc98u,pc98vf,pc98vm,pc98uv,pc98vx,pc98ux,pc98ra,pc98fa,98f,pc98bx4,pc98es,pc9821}}
+
<includeonly>{{#vardefine:syslist|pc98,pc98e,pc98f,pc98m,pc98u,pc98vf,pc98vm,pc98uv,pc98vx,pc98ux,pc98ra,pc98fa,98f,pc98bx4,pc98es,pc9821}}{{#vardefine:rgnlist|{{Regions/Classic}}}}{{#vardefine:year|9999}}
{{#vardefine:year|9999}}
 
 
{{#vardefine:i|0}}{{#while:
 
{{#vardefine:i|0}}{{#while:
 
| {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}}
 
| {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}}
 +
|
 +
{{#vardefine:j|0}}{{#while:
 +
| {{#vardefine:rgn|{{#explode:{{#var:rgnlist}}|,|{{#var:j}}}}}}{{#var:rgn}}
 
|  
 
|  
  
{{#forargs: pc98_date_jp | typ | dat |  
+
{{#forargs: {{#var:sys}}_date_{{#var:rgn}} | typ | dat |  
 
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{#switch:{{#var:sys}}|pc98={{#vardefine:pc98|true}}|pc98e={{#vardefine:pc98e|true}}|pc98f={{#vardefine:pc98f|true}}|pc98m={{#vardefine:pc98m|true}}|pc98u={{#vardefine:pc98u|true}}|pc98vf={{#vardefine:pc98vf|true}}|pc98vm={{#vardefine:pc98vm|true}}|pc98uv={{#vardefine:pc98uv|true}}|pc98vx={{#vardefine:pc98vx|true}}|pc98ux={{#vardefine:pc98ux|true}}|pc98ra={{#vardefine:pc98ra|true}}|pc98fa={{#vardefine:pc98fa|true}}|98f={{#vardefine:98f|true}}|pc98bx4={{#vardefine:pc98bx4|true}}|pc98es={{#vardefine:pc98es|true}}|pc9821={{#vardefine:pc9821|true}}}}
 
{{releasesRowPlus
 
{{releasesRowPlus
| console=PC9801
+
| console={{#switch:{{#var:sys}}|acdrom2|acd=ACDROM2|scdrom2|scd=SCDROM2|CDROM2}}
| region=JP
+
| region={{uc:{{#var:rgn}}}}
 
| date={{#var:dat}}
 
| date={{#var:dat}}
 
| packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}}
 
| packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}}
| price={{{pc98_rrp_jp{{#var:typ}}|}}}
+
| price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}}
 
| currency=
 
| currency=
| code={{{pc98_code_jp{{#var:typ}}|}}}
+
| code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}}
| code2={{{pc98_code2_jp{{#var:typ}}|}}}
+
| code2={{{{{#var:sys}}_code2_{{#var:rgn}}{{#var:typ}}|}}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
   |{{#if:{{{pc98_type_jp{{#var:typ}}|}}}|{{{pc98_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
+
   |{{#if:{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{#var:typ2}}}}
 
   }}
 
   }}
 
| download=
 
| download=
| rating={{{pc98_rating_jp{{#var:typ}}|}}}
+
| rating={{{{{#var:sys}}_rating_{{#var:rgn}}{{#var:typ}}|}}}
 
}}
 
}}
 
}}
 
}}
  
{{#forargs: pc98e_date_jp | typ | dat |
+
{{#if: {{{pc98_date_jp|}}}{{{pc98e_date_jp|}}}{{{pc98f_date_jp|}}}{{{pc98m_date_jp|}}}{{{pc98u_date_jp|}}}{{{pc98vf_date_jp|}}}{{{pc98vm_date_jp|}}}{{{pc98uv_date_jp|}}}{{{pc98vx_date_jp|}}}{{{pc98ux_date_jp|}}}{{{pc98ra_date_jp|}}}{{{pc98fa_date_jp|}}}{{{98f_date_jp|}}}{{{pc98bx4_date_jp|}}} | [[Category:PC-9800 series games]]{{genre2cat|PC-9800 series}} | }}
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 
{{releasesRowPlus
 
| console=PC9801E
 
| region=JP
 
| date={{#var:dat}}
 
| packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}}
 
| price={{{pc98e_rrp_jp{{#var:typ}}|}}}
 
| currency=
 
| code={{{pc98e_code_jp{{#var:typ}}|}}}
 
| code2={{{pc98e_code2_jp{{#var:typ}}|}}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 
  |{{#if:{{{pc98e_type_jp{{#var:typ}}|}}}|{{{pc98e_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 
  }}
 
| download=
 
| rating={{{pc98e_rating_jp{{#var:typ}}|}}}
 
}}
 
}}
 
 
 
{{#forargs: pc98f_date_jp | typ | dat |
 
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 
{{releasesRowPlus
 
| console=PC9801F
 
| region=JP
 
| date={{#var:dat}}
 
| packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}}
 
| price={{{pc98f_rrp_jp{{#var:typ}}|}}}
 
| currency=
 
| code={{{pc98f_code_jp{{#var:typ}}|}}}
 
| code2={{{pc98f_code2_jp{{#var:typ}}|}}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 
  |{{#if:{{{pc98f_type_jp{{#var:typ}}|}}}|{{{pc98f_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 
  }}
 
| download=
 
| rating={{{pc98f_rating_jp{{#var:typ}}|}}}
 
}}
 
}}
 
  
{{#forargs: pc98m_date_jp | typ | dat |
+
{{incvar|j}}
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 
{{releasesRowPlus
 
| console=PC9801M
 
| region=JP
 
| date={{#var:dat}}
 
| packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}}
 
| price={{{pc98m_rrp_jp{{#var:typ}}|}}}
 
| currency=
 
| code={{{pc98m_code_jp{{#var:typ}}|}}}
 
| code2={{{pc98m_code2_jp{{#var:typ}}|}}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 
  |{{#if:{{{pc98m_type_jp{{#var:typ}}|}}}|{{{pc98m_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 
  }}
 
| download=
 
| rating={{{pc98m_rating_jp{{#var:typ}}|}}}
 
 
}}
 
}}
 +
{{incvar|i}}
 
}}
 
}}
 
+
{{#switch:{{#var:type}}
{{#forargs: pc98u_date_jp | typ | dat |  
+
| 0={{#if:{{#var:pc98}}|[[Category:PC-9801 games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 games]][[Category:All {{#var:year}} games]][[Category:PC-9800 series games]]}}{{genre2cat|PC-9800 series}}}}{{
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
+
#if:{{#var:pc98e}}|[[Category:PC-9801 E games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 E games]][[Category:All {{#var:year}} games]][[Category:PC-9800 series games]]}}{{genre2cat|PC-9800 series}}}}{{
{{releasesRowPlus
+
#if:{{#var:pc98f}}|[[Category:PC-9801 F games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 F games]][[Category:All {{#var:year}} games]][[Category:PC-9800 series games]]}}{{genre2cat|PC-9800 series}}}}{{
| console=PC9801U
+
#if:{{#var:pc98m}}|[[Category:PC-9801 M games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 M games]][[Category:All {{#var:year}} games]][[Category:PC-9800 series games]]}}{{genre2cat|PC-9800 series}}}}{{
| region=JP
+
#if:{{#var:pc98u}}|[[Category:PC-9801 U games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 U games]][[Category:All {{#var:year}} games]][[Category:PC-9800 series games]]}}{{genre2cat|PC-9800 series}}}}{{
| date={{#var:dat}}
+
#if:{{#var:pc98vf}}|[[Category:PC-9801 VF games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 VF games]][[Category:All {{#var:year}} games]][[Category:PC-9800 series games]]}}{{genre2cat|PC-9800 series}}}}{{
| packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}}
+
#if:{{#var:pc98vm}}|[[Category:PC-9801 VM games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 VM games]][[Category:All {{#var:year}} games]][[Category:PC-9800 series games]]}}{{genre2cat|PC-9800 series}}}}{{
| price={{{pc98u_rrp_jp{{#var:typ}}|}}}
+
#if:{{#var:pc98uv}}|[[Category:PC-9801 UV games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 UV games]][[Category:All {{#var:year}} games]][[Category:PC-9800 series games]]}}{{genre2cat|PC-9800 series}}}}{{
| currency=
+
#if:{{#var:pc98vx}}|[[Category:PC-9801 VX games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 VX games]][[Category:All {{#var:year}} games]][[Category:PC-9800 series games]]}}{{genre2cat|PC-9800 series}}}}{{
| code={{{pc98u_code_jp{{#var:typ}}|}}}
+
#if:{{#var:pc98ux}}|[[Category:PC-9801 UX games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 UX games]][[Category:All {{#var:year}} games]][[Category:PC-9800 series games]]}}{{genre2cat|PC-9800 series}}}}{{
| code2={{{pc98u_code2_jp{{#var:typ}}|}}}
+
#if:{{#var:pc98ra}}|[[Category:PC-9801 RA games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 RA games]][[Category:All {{#var:year}} games]][[Category:PC-9800 series games]]}}{{genre2cat|PC-9800 series}}}}{{
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
+
#if:{{#var:pc98fa}}|[[Category:PC-9801 FA games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 FA games]][[Category:All {{#var:year}} games]][[Category:PC-9800 series games]]}}{{genre2cat|PC-9800 series}}}}{{
  |{{#if:{{{pc98u_type_jp{{#var:typ}}|}}}|{{{pc98u_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
+
#if:{{#var:98f}}|[[Category:98 Fellow games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} 98 Fellow games]][[Category:All {{#var:year}} games]][[Category:PC-9800 series games]]}}{{genre2cat|PC-9800 series}}}}{{
  }}
+
#if:{{#var:pc98bx4}}|[[Category:PC-9801 BX4 games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 BX4 games]][[Category:All {{#var:year}} games]][[Category:PC-9800 series games]]}}{{genre2cat|PC-9800 series}}}}{{
| download=
+
#if:{{#var:pc98es}}|[[Category:PC-9801 ES games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 ES games]][[Category:All {{#var:year}} games]][[Category:PC-9800 series games]]}}{{genre2cat|PC-9800 series}}}}{{
| rating={{{pc98u_rating_jp{{#var:typ}}|}}}
+
#if:{{#var:pc9821}}|[[Category:PC-9821 games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9821 games]][[Category:All {{#var:year}} games]]}}{{genre2cat|PC-9821}}}}
 +
| 1=[[Category:PC-9800 series accessories]]
 +
| 2=[[Category:PC-9800 series hardware]]
 
}}
 
}}
}}
 
 
{{#forargs: pc98vf_date_jp | typ | dat |
 
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 
{{releasesRowPlus
 
| console=PC9801VF
 
| region=JP
 
| date={{#var:dat}}
 
| packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}}
 
| price={{{pc98vf_rrp_jp{{#var:typ}}|}}}
 
| currency=
 
| code={{{pc98vf_code_jp{{#var:typ}}|}}}
 
| code2={{{pc98vf_code2_jp{{#var:typ}}|}}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 
  |{{#if:{{{pc98vf_type_jp{{#var:typ}}|}}}|{{{pc98vf_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 
  }}
 
| download=
 
| rating={{{pc98vf_rating_jp{{#var:typ}}|}}}
 
}}
 
}}
 
 
{{#forargs: pc98vm_date_jp | typ | dat |
 
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 
{{releasesRowPlus
 
| console=PC9801VM
 
| region=JP
 
| date={{#var:dat}}
 
| packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}}
 
| price={{{pc98vm_rrp_jp{{#var:typ}}|}}}
 
| currency=
 
| code={{{pc98vm_code_jp{{#var:typ}}|}}}
 
| code2={{{pc98vm_code2_jp{{#var:typ}}|}}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 
  |{{#if:{{{pc98vm_type_jp{{#var:typ}}|}}}|{{{pc98vm_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 
  }}
 
| download=
 
| rating={{{pc98vm_rating_jp{{#var:typ}}|}}}
 
}}
 
}}
 
 
{{#forargs: pc98uv_date_jp | typ | dat |
 
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 
{{releasesRowPlus
 
| console=PC9801UV
 
| region=JP
 
| date={{#var:dat}}
 
| packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}}
 
| price={{{pc98uv_rrp_jp{{#var:typ}}|}}}
 
| currency=
 
| code={{{pc98uv_code_jp{{#var:typ}}|}}}
 
| code2={{{pc98uv_code2_jp{{#var:typ}}|}}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 
  |{{#if:{{{pc98uv_type_jp{{#var:typ}}|}}}|{{{pc98uv_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 
  }}
 
| download=
 
| rating={{{pc98uv_rating_jp{{#var:typ}}|}}}
 
}}
 
}}
 
 
{{#forargs: pc98vx_date_jp | typ | dat |
 
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 
{{releasesRowPlus
 
| console=PC9801VX
 
| region=JP
 
| date={{#var:dat}}
 
| packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}}
 
| price={{{pc98vx_rrp_jp{{#var:typ}}|}}}
 
| currency=
 
| code={{{pc98vx_code_jp{{#var:typ}}|}}}
 
| code2={{{pc98vx_code2_jp{{#var:typ}}|}}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 
  |{{#if:{{{pc98vx_type_jp{{#var:typ}}|}}}|{{{pc98vx_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 
  }}
 
| download=
 
| rating={{{pc98vx_rating_jp{{#var:typ}}|}}}
 
}}
 
}}
 
 
{{#forargs: pc98ux_date_jp | typ | dat |
 
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 
{{releasesRowPlus
 
| console=PC9801UX
 
| region=JP
 
| date={{#var:dat}}
 
| packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}}
 
| price={{{pc98ux_rrp_jp{{#var:typ}}|}}}
 
| currency=
 
| code={{{pc98ux_code_jp{{#var:typ}}|}}}
 
| code2={{{pc98ux_code2_jp{{#var:typ}}|}}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 
  |{{#if:{{{pc98ux_type_jp{{#var:typ}}|}}}|{{{pc98ux_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 
  }}
 
| download=
 
| rating={{{pc98ux_rating_jp{{#var:typ}}|}}}
 
}}
 
}}
 
 
{{#forargs: pc98ra_date_jp | typ | dat |
 
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 
{{releasesRowPlus
 
| console=PC9801RA
 
| region=JP
 
| date={{#var:dat}}
 
| packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}}
 
| price={{{pc98ra_rrp_jp{{#var:typ}}|}}}
 
| currency=
 
| code={{{pc98ra_code_jp{{#var:typ}}|}}}
 
| code2={{{pc98ra_code2_jp{{#var:typ}}|}}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 
  |{{#if:{{{pc98ra_type_jp{{#var:typ}}|}}}|{{{pc98ra_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 
  }}
 
| download=
 
| rating={{{pc98ra_rating_jp{{#var:typ}}|}}}
 
}}
 
}}
 
 
{{#forargs: pc98fa_date_jp | typ | dat |
 
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 
{{releasesRowPlus
 
| console=PC9801FA
 
| region=JP
 
| date={{#var:dat}}
 
| packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}}
 
| price={{{pc98fa_rrp_jp{{#var:typ}}|}}}
 
| currency=
 
| code={{{pc98fa_code_jp{{#var:typ}}|}}}
 
| code2={{{pc98fa_code2_jp{{#var:typ}}|}}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 
  |{{#if:{{{pc98fa_type_jp{{#var:typ}}|}}}|{{{pc98fa_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 
  }}
 
| download=
 
| rating={{{pc98fa_rating_jp{{#var:typ}}|}}}
 
}}
 
}}
 
 
{{#forargs: 98f_date_jp | typ | dat |
 
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 
{{releasesRowPlus
 
| console=98FELLOW
 
| region=JP
 
| date={{#var:dat}}
 
| packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}}
 
| price={{{98f_rrp_jp{{#var:typ}}|}}}
 
| currency=
 
| code={{{98f_code_jp{{#var:typ}}|}}}
 
| code2={{{98f_code2_jp{{#var:typ}}|}}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 
  |{{#if:{{{98f_type_jp{{#var:typ}}|}}}|{{{98f_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 
  }}
 
| download=
 
| rating={{{98f_rating_jp{{#var:typ}}|}}}
 
}}
 
}}
 
 
{{#forargs: pc98bx4_date_jp | typ | dat |
 
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 
{{releasesRowPlus
 
| console=PC9801BX4
 
| region=JP
 
| date={{#var:dat}}
 
| packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}}
 
| price={{{pc98bx4_rrp_jp{{#var:typ}}|}}}
 
| currency=
 
| code={{{pc98bx4_code_jp{{#var:typ}}|}}}
 
| code2={{{pc98bx4_code2_jp{{#var:typ}}|}}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 
  |{{#if:{{{pc98bx4_type_jp{{#var:typ}}|}}}|{{{pc98bx4_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 
  }}
 
| download=
 
| rating={{{pc98bx4_rating_jp{{#var:typ}}|}}}
 
}}
 
}}
 
 
{{#forargs: pc98es_date_jp | typ | dat |
 
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 
{{releasesRowPlus
 
| console=PC9801ES
 
| region=JP
 
| date={{#var:dat}}
 
| packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}}
 
| price={{{pc98es_rrp_jp{{#var:typ}}|}}}
 
| currency=
 
| code={{{pc98es_code_jp{{#var:typ}}|}}}
 
| code2={{{pc98es_code2_jp{{#var:typ}}|}}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 
  |{{#if:{{{pc98es_type_jp{{#var:typ}}|}}}|{{{pc98es_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 
  }}
 
| download=
 
| rating={{{pc98es_rating_jp{{#var:typ}}|}}}
 
}}
 
}}
 
 
{{#forargs: pc9821_date_jp | typ | dat |
 
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 
{{releasesRowPlus
 
| console=PC9821
 
| region=JP
 
| date={{#var:dat}}
 
| packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}}
 
| price={{{pc9821_rrp_jp{{#var:typ}}|}}}
 
| currency=
 
| code={{{pc9821_code_jp{{#var:typ}}|}}}
 
| code2={{{pc9821_code2_jp{{#var:typ}}|}}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 
  |{{#if:{{{pc9821_type_jp{{#var:typ}}|}}}|{{{pc9821_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 
  }}
 
| download=
 
| rating={{{pc9821_rating_jp{{#var:typ}}|}}}
 
}}
 
}}
 
 
|-
 
| style="display:none" |
 
<!-- Games -->
 
{{#ifeq: {{#var:type}} | 0 |
 
 
{{#if: {{{pc98_date_jp|}}}{{{pc98e_date_jp|}}}{{{pc98f_date_jp|}}}{{{pc98m_date_jp|}}}{{{pc98u_date_jp|}}}{{{pc98vf_date_jp|}}}{{{pc98vm_date_jp|}}}{{{pc98uv_date_jp|}}}{{{pc98vx_date_jp|}}}{{{pc98ux_date_jp|}}}{{{pc98ra_date_jp|}}}{{{pc98fa_date_jp|}}}{{{98f_date_jp|}}}{{{pc98bx4_date_jp|}}}  | [[Category:PC-9800 series games]]{{genre2cat|PC-9800 series}} | }}
 
 
{{#if: {{{pc98_date_jp|}}} | [[Category:PC-9801 games]]
 
{{#vardefine:year|{{lowest
 
|{{year|{{{pc98_date_jp}}}}}
 
}}}}
 
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-9801 games]] }}
 
| }}
 
 
{{#if: {{{pc98e_date_jp|}}} | [[Category:PC-9801 E games]]
 
{{#vardefine:year|{{lowest
 
|{{year|{{{pc98e_date_jp}}}}}
 
}}}}
 
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-9801 E games]] }}
 
| }}
 
 
{{#if: {{{pc98f_date_jp|}}} | [[Category:PC-9801 F games]]
 
{{#vardefine:year|{{lowest
 
|{{year|{{{pc98f_date_jp}}}}}
 
}}}}
 
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-9801 F games]] }}
 
| }}
 
 
{{#if: {{{pc98m_date_jp|}}} | [[Category:PC-9801 M games]]
 
{{#vardefine:year|{{lowest
 
|{{year|{{{pc98m_date_jp}}}}}
 
}}}}
 
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-9801 M games]] }}
 
| }}
 
 
{{#if: {{{pc98u_date_jp|}}} | [[Category:PC-9801 U games]]
 
{{#vardefine:year|{{lowest
 
|{{year|{{{pc98u_date_jp}}}}}
 
}}}}
 
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-9801 U games]] }}
 
| }}
 
 
{{#if: {{{pc98vf_date_jp|}}} | [[Category:PC-9801 VF games]]
 
{{#vardefine:year|{{lowest
 
|{{year|{{{pc98vf_date_jp}}}}}
 
}}}}
 
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-9801 VF games]] }}
 
| }}
 
 
{{#if: {{{pc98vm_date_jp|}}} | [[Category:PC-9801 VM games]]
 
{{#vardefine:year|{{lowest
 
|{{year|{{{pc98vm_date_jp}}}}}
 
}}}}
 
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-9801 VM games]] }}
 
| }}
 
 
{{#if: {{{pc98uv_date_jp|}}} | [[Category:PC-9801 UV games]]
 
{{#vardefine:year|{{lowest
 
|{{year|{{{pc98uv_date_jp}}}}}
 
}}}}
 
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-9801 UV games]] }}
 
| }}
 
 
{{#if: {{{pc98vx_date_jp|}}} | [[Category:PC-9801 VX games]]
 
{{#vardefine:year|{{lowest
 
|{{year|{{{pc98vx_date_jp}}}}}
 
}}}}
 
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-9801 VX games]] }}
 
| }}
 
 
{{#if: {{{pc98ux_date_jp|}}} | [[Category:PC-9801 UX games]]
 
{{#vardefine:year|{{lowest
 
|{{year|{{{pc98ux_date_jp}}}}}
 
}}}}
 
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-9801 UX games]] }}
 
| }}
 
 
{{#if: {{{pc98ra_date_jp|}}} | [[Category:PC-9801 RA games]]
 
{{#vardefine:year|{{lowest
 
|{{year|{{{pc98ra_date_jp}}}}}
 
}}}}
 
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-9801 RA games]] }}
 
| }}
 
 
{{#if: {{{pc98fa_date_jp|}}} | [[Category:PC-9801 FA games]]
 
{{#vardefine:year|{{lowest
 
|{{year|{{{pc98fa_date_jp}}}}}
 
}}}}
 
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-9801 FA games]] }}
 
| }}
 
 
{{#if: {{{98f_date_jp|}}} | [[Category:98 Fellow games]]
 
{{#vardefine:year|{{lowest
 
|{{year|{{{98f_date_jp}}}}}
 
}}}}
 
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} 98 Fellow games]] }}
 
| }}
 
 
 
{{#if: {{{pc98bx4_date_jp|}}} | [[Category:PC-9801 BX4 games]]
 
{{#vardefine:year|{{lowest
 
|{{year|{{{pc98bx4_date_jp}}}}}
 
}}}}
 
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-9801 BX4 games]] }}
 
| }}
 
 
{{#if: {{{pc9821_date_jp|}}} | [[Category:PC-9821 games]]
 
{{#vardefine:year|{{lowest
 
|{{year|{{{pc9821_date_jp}}}}}
 
}}}}
 
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-9821 games]] }}
 
| }}
 
  
 
<!-- there should be many more here -->
 
<!-- there should be many more here -->

Revision as of 09:29, 10 April 2024


48
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 NEC Retro:Todo until this message is removed.

See Template:Releases/Usage for how to use.