Actions

Template

Difference between revisions of "ReleasesPC80"

From NEC Retro

m
(added ReleasesYearCheck)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{releasesRow|PC8001|JP|{{{pc80_date_jp|}}}|¥{{{pc80_rrp_jp|?}}}|{{{pc80_code_jp|?}}}}}
+
<includeonly>
{{releasesRow|PC8001mkII|JP|{{{pc80mk2_date_jp|}}}|¥{{{pc80mk2_rrp_jp|?}}}|{{{pc80mk2_code_jp|?}}}}}
+
{{#vardefine:year|9999}}
{{releasesRow|PC8001mkIISR|JP|{{{pc80mk2sr_date_jp|}}}|¥{{{pc80mk2sr_rrp_jp|?}}}|{{{pc80mk2sr_code_jp|?}}}}}
+
 
 +
{{#forargs: pc80_date_jp | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{releasesRowPlus
 +
| console=PC8001
 +
| region=JP
 +
| date={{#var:dat}}
 +
| price={{{pc80_rrp_jp{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{pc80_code_jp{{#var:typ}}|}}}
 +
| code2={{{pc80_code2_jp{{#var:typ}}|}}}
 +
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 +
  |t=[[PC-8001 type-in software|Type-in]][[Category:PC-8001 type-in software]]
 +
  |{{#if:{{{pc80_type_jp{{#var:typ}}|}}}|{{{pc80_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=
 +
| rating={{{pc80_rating_jp{{#var:typ}}|}}}
 +
}}
 +
}}
 +
 
 +
{{#forargs: pc80mk2_date_jp | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{releasesRowPlus
 +
| console=PC8001mkII
 +
| region=JP
 +
| date={{#var:dat}}
 +
| price={{{pc80mk2_rrp_jp{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{pc80mk2_code_jp{{#var:typ}}|}}}
 +
| code2={{{pc80mk2_code2_jp{{#var:typ}}|}}}
 +
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 +
  |t=[[PC-8001 mkII type-in software|Type-in]][[Category:PC-8001 mkII type-in software]]
 +
  |{{#if:{{{pc80mk2_type_jp{{#var:typ}}|}}}|{{{pc80mk2_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=
 +
| rating={{{pc80mk2_rating_jp{{#var:typ}}|}}}
 +
}}
 +
}}
 +
 
 +
{{#forargs: pc80mk2sr_date_jp | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{releasesRowPlus
 +
| console=PC8001mkIISR
 +
| region=JP
 +
| date={{#var:dat}}
 +
| price={{{pc80mk2sr_rrp_jp{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{pc80mk2sr_code_jp{{#var:typ}}|}}}
 +
| code2={{{pc80mk2sr_code2_jp{{#var:typ}}|}}}
 +
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 +
  |t=[[PC-8001 mkII SR type-in software|Type-in]][[Category:PC-8001 mkII SR type-in software]]
 +
  |{{#if:{{{pc80mk2sr_type_jp{{#var:typ}}|}}}|{{{pc80mk2sr_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=
 +
| rating={{{pc80mk2sr_rating_jp{{#var:typ}}|}}}
 +
}}
 +
}}
 +
 
 
|-
 
|-
 
| style="display:none" |
 
| style="display:none" |
Line 13: Line 70:
 
|{{year|{{{pc80_date_jp}}}}}
 
|{{year|{{{pc80_date_jp}}}}}
 
}}}}
 
}}}}
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-8001 games]] }}
+
{{ReleasesYearCheck|{{#var:year}}|PC-8001}}
 
| }}
 
| }}
  
Line 20: Line 77:
 
|{{year|{{{pc80mk2_date_jp}}}}}
 
|{{year|{{{pc80mk2_date_jp}}}}}
 
}}}}
 
}}}}
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-8001 mkII games]] }}
+
{{ReleasesYearCheck|{{#var:year}}|PC-8001 mkII}}
 
| }}
 
| }}
  
Line 27: Line 84:
 
|{{year|{{{pc80mk2sr_date_jp}}}}}
 
|{{year|{{{pc80mk2sr_date_jp}}}}}
 
}}}}
 
}}}}
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-8001 mkII SR games]] }}
+
{{ReleasesYearCheck|{{#var:year}}|PC-8001 mkII SR}}
 
| }}
 
| }}
 
| }}
 
| }}

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