Actions

Template

Difference between revisions of "ReleasesPC88"

From NEC Retro

(added ReleasesYearCheck)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{releasesRow|PC8801|JP|{{{pc88_date_jp|}}}|¥{{{pc88_rrp_jp|?}}}|{{{pc88_code_jp|?}}}}}
+
<includeonly>
{{releasesRow|PC8801mkII|JP|{{{pc88mk2_date_jp|}}}|¥{{{pc88mk2_rrp_jp|?}}}|{{{pc88mk2_code_jp|?}}}}}
+
{{#vardefine:year|9999}}
{{releasesRow|PC8801mkIISR|JP|{{{pc88mk2sr_date_jp|}}}|¥{{{pc88mk2sr_rrp_jp|?}}}|{{{pc88mk2sr_code_jp|?}}}}}
+
 
{{releasesRow|PC8801mkIIMR|JP|{{{pc88mk2mr_date_jp|}}}|¥{{{pc88mk2mr_rrp_jp|?}}}|{{{pc88mk2mr_code_jp|?}}}}}
+
{{#forargs: pc88_date_jp | typ | dat |
{{releasesRow|PC8801FH|JP|{{{pc88fh_date_jp|}}}|¥{{{pc88fh_rrp_jp|?}}}|{{{pc88fh_code_jp|?}}}}}
+
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
{{releasesRow|PC88VA|JP|{{{pc88va_date_jp|}}}|¥{{{pc88va_rrp_jp|?}}}|{{{pc88va_code_jp|?}}}}}
+
{{releasesRowPlus
{{releasesRow|PC8801MC|JP|{{{pc88mc_date_jp|}}}|¥{{{pc88mc_rrp_jp|?}}}|{{{pc88mc_code_jp|?}}}}}
+
| console=PC8801
 +
| region=JP
 +
| date={{#var:dat}}
 +
| price={{{pc88_rrp_jp{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{pc88_code_jp{{#var:typ}}|}}}
 +
| code2={{{pc88_code2_jp{{#var:typ}}|}}}
 +
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 +
  |t=[[PC-8801 type-in software|Type-in]][[Category:PC-8801 type-in software]]
 +
  |{{#if:{{{pc88_type_jp{{#var:typ}}|}}}|{{{pc88_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=
 +
| rating={{{pc88_rating_jp{{#var:typ}}|}}}
 +
}}
 +
}}
 +
 
 +
{{#forargs: pc88mk2_date_jp | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{releasesRowPlus
 +
| console=PC8801mkII
 +
| region=JP
 +
| date={{#var:dat}}
 +
| price={{{pc88mk2_rrp_jp{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{pc88mk2_code_jp{{#var:typ}}|}}}
 +
| code2={{{pc88mk2_code2_jp{{#var:typ}}|}}}
 +
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 +
  |{{#if:{{{pc88mk2_type_jp{{#var:typ}}|}}}|{{{pc88mk2_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=
 +
| rating={{{pc88mk2_rating_jp{{#var:typ}}|}}}
 +
}}
 +
}}
 +
 
 +
{{#forargs: pc88mk2sr_date_jp | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{releasesRowPlus
 +
| console=PC8801mkIISR
 +
| region=JP
 +
| date={{#var:dat}}
 +
| price={{{pc88mk2sr_rrp_jp{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{pc88mk2sr_code_jp{{#var:typ}}|}}}
 +
| code2={{{pc88mk2sr_code2_jp{{#var:typ}}|}}}
 +
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 +
  |t=[[PC-8801 mkII SR type-in software|Type-in]][[Category:PC-8801 mkII SR type-in software]]
 +
  |{{#if:{{{pc88mk2sr_type_jp{{#var:typ}}|}}}|{{{pc88mk2sr_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=
 +
| rating={{{pc88mk2sr_rating_jp{{#var:typ}}|}}}
 +
}}
 +
}}
 +
 
 +
{{#forargs: pc88mk2mr_date_jp | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{releasesRowPlus
 +
| console=PC8801mkIIMR
 +
| region=JP
 +
| date={{#var:dat}}
 +
| price={{{pc88mk2mr_rrp_jp{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{pc88mk2mr_code_jp{{#var:typ}}|}}}
 +
| code2={{{pc88mk2mr_code2_jp{{#var:typ}}|}}}
 +
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 +
  |{{#if:{{{pc88mk2mr_type_jp{{#var:typ}}|}}}|{{{pc88mk2mr_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=
 +
| rating={{{pc88mk2mr_rating_jp{{#var:typ}}|}}}
 +
}}
 +
}}
 +
 
 +
{{#forargs: pc88mh_date_jp | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{releasesRowPlus
 +
| console=PC8801MH
 +
| region=JP
 +
| date={{#var:dat}}
 +
| price={{{pc88mh_rrp_jp{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{pc88mh_code_jp{{#var:typ}}|}}}
 +
| code2={{{pc88mh_code2_jp{{#var:typ}}|}}}
 +
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 +
  |{{#if:{{{pc88mh_type_jp{{#var:typ}}|}}}|{{{pc88mh_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=
 +
| rating={{{pc88mh_rating_jp{{#var:typ}}|}}}
 +
}}
 +
}}
 +
 
 +
{{#forargs: pc88fh_date_jp | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{releasesRowPlus
 +
| console=PC8801FH
 +
| region=JP
 +
| date={{#var:dat}}
 +
| price={{{pc88fh_rrp_jp{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{pc88fh_code_jp{{#var:typ}}|}}}
 +
| code2={{{pc88fh_code2_jp{{#var:typ}}|}}}
 +
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 +
  |{{#if:{{{pc88fh_type_jp{{#var:typ}}|}}}|{{{pc88fh_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=
 +
| rating={{{pc88fh_rating_jp{{#var:typ}}|}}}
 +
}}
 +
}}
 +
 
 +
{{#forargs: pc88va_date_jp | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{releasesRowPlus
 +
| console=PC88VA
 +
| region=JP
 +
| date={{#var:dat}}
 +
| price={{{pc88va_rrp_jp{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{pc88va_code_jp{{#var:typ}}|}}}
 +
| code2={{{pc88va_code2_jp{{#var:typ}}|}}}
 +
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 +
  |{{#if:{{{pc88va_type_jp{{#var:typ}}|}}}|{{{pc88va_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=
 +
| rating={{{pc88va_rating_jp{{#var:typ}}|}}}
 +
}}
 +
}}
 +
 
 +
{{#forargs: pc88mc_date_jp | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{releasesRowPlus
 +
| console=PC8801MC
 +
| region=JP
 +
| date={{#var:dat}}
 +
| price={{{pc88mc_rrp_jp{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{pc88mc_code_jp{{#var:typ}}|}}}
 +
| code2={{{pc88mc_code2_jp{{#var:typ}}|}}}
 +
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 +
  |{{#if:{{{pc88mc_type_jp{{#var:typ}}|}}}|{{{pc88mc_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=
 +
| rating={{{pc88mc_rating_jp{{#var:typ}}|}}}
 +
}}
 +
}}
 +
 
 
|-
 
|-
 
| style="display:none" |
 
| style="display:none" |
Line 17: Line 159:
 
|{{year|{{{pc88_date_jp}}}}}
 
|{{year|{{{pc88_date_jp}}}}}
 
}}}}
 
}}}}
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-8801 games]] }}
+
{{ReleasesYearCheck|{{#var:year}}|PC-8801}}
 
| }}
 
| }}
  
Line 24: Line 166:
 
|{{year|{{{pc88mk2_date_jp}}}}}
 
|{{year|{{{pc88mk2_date_jp}}}}}
 
}}}}
 
}}}}
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-8801 mkII games]] }}
+
{{ReleasesYearCheck|{{#var:year}}|PC-8801 mkII}}
 
| }}
 
| }}
  
Line 31: Line 173:
 
|{{year|{{{pc88mk2sr_date_jp}}}}}
 
|{{year|{{{pc88mk2sr_date_jp}}}}}
 
}}}}
 
}}}}
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-8801 mkII SR games]] }}
+
{{ReleasesYearCheck|{{#var:year}}|PC-8801 mkII SR}}
 
| }}
 
| }}
  
Line 38: Line 180:
 
|{{year|{{{pc88mk2mr_date_jp}}}}}
 
|{{year|{{{pc88mk2mr_date_jp}}}}}
 
}}}}
 
}}}}
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-8801 mkII MR games]] }}
+
{{ReleasesYearCheck|{{#var:year}}|PC-8801 mkII MR}}
 +
| }}
 +
 
 +
{{#if: {{{pc88mh_date_jp|}}} | [[Category:PC-8801 MH games]]
 +
{{#vardefine:year|{{lowest
 +
|{{year|{{{pc88mh_date_jp}}}}}
 +
}}}}
 +
{{ReleasesYearCheck|{{#var:year}}|PC-8801 MH}}
 
| }}
 
| }}
  
Line 45: Line 194:
 
|{{year|{{{pc88fh_date_jp}}}}}
 
|{{year|{{{pc88fh_date_jp}}}}}
 
}}}}
 
}}}}
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-8801 FH games]] }}
+
{{ReleasesYearCheck|{{#var:year}}|PC-8801 FH}}
 
| }}
 
| }}
  
Line 52: Line 201:
 
|{{year|{{{pc88va_date_jp}}}}}
 
|{{year|{{{pc88va_date_jp}}}}}
 
}}}}
 
}}}}
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-88 VA games]] }}
+
{{ReleasesYearCheck|{{#var:year}}|PC-88 VA}}
 
| }}
 
| }}
  
Line 59: Line 208:
 
|{{year|{{{pc88mc_date_jp}}}}}
 
|{{year|{{{pc88mc_date_jp}}}}}
 
}}}}
 
}}}}
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-8801 MC games]] }}
+
{{ReleasesYearCheck|{{#var:year}}|PC-8801 MC}}
 
| }}
 
| }}
  
Line 76: Line 225:
 
|-
 
|-
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 +
{{TODO}}
 
See [[Template:Releases/Usage]] for how to use.
 
See [[Template:Releases/Usage]] for how to use.
  
 
[[Category:Releases templates]]</noinclude>
 
[[Category:Releases templates]]</noinclude>

Latest revision as of 14:10, 4 July 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.