Actions

Template

Difference between revisions of "ReleasesPC60"

From NEC Retro

(Created page with "<includeonly>{{releasesRow|PC6001|JP|{{{pc60_date_jp|}}}|¥{{{pc60_rrp_jp|?}}}|{{{pc60_code_jp|?}}}}} {{releasesRow|PC6001mkII|JP|{{{pc60mk2_date_jp|}}}|¥{{{pc60mk2_rrp_jp|?}...")
 
(added ReleasesYearCheck)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{releasesRow|PC6001|JP|{{{pc60_date_jp|}}}|¥{{{pc60_rrp_jp|?}}}|{{{pc60_code_jp|?}}}}}
+
<includeonly>
{{releasesRow|PC6001mkII|JP|{{{pc60mk2_date_jp|}}}|¥{{{pc60mk2_rrp_jp|?}}}|{{{pc60mk2_code_jp|?}}}}}
+
{{#vardefine:year|9999}}
{{releasesRow|PC6001mkIISR|JP|{{{pc60mk2sr_date_jp|}}}|¥{{{pc60mk2sr_rrp_jp|?}}}|{{{pc60mk2sr_code_jp|?}}}}}
+
 
{{releasesRow|NT|JP|{{{nt_date_us|}}}|${{{nt_rrp_us|?}}}|{{{nt_code_us|?}}}}}
+
{{#forargs: pc60_date_jp | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{releasesRowPlus
 +
| console=PC6001
 +
| region=JP
 +
| date={{#var:dat}}
 +
| price={{{pc60_rrp_jp{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{pc60_code_jp{{#var:typ}}|}}}
 +
| code2={{{pc60_code2_jp{{#var:typ}}|}}}
 +
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 +
  |t=[[PC-6001 type-in software|Type-in]][[Category:PC-6001 type-in software]]
 +
  |{{#if:{{{pc60_type_jp{{#var:typ}}|}}}|{{{pc60_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=
 +
| rating={{{pc60_rating_jp{{#var:typ}}|}}}
 +
}}
 +
}}
 +
 
 +
{{#forargs: pc60mk2_date_jp | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{releasesRowPlus
 +
| console=PC6001mkII
 +
| region=JP
 +
| date={{#var:dat}}
 +
| price={{{pc60mk2_rrp_jp{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{pc60mk2_code_jp{{#var:typ}}|}}}
 +
| code2={{{pc60mk2_code2_jp{{#var:typ}}|}}}
 +
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 +
  |t=[[PC-6001 mkII type-in software|Type-in]][[Category:PC-6001 mkII type-in software]]
 +
  |{{#if:{{{pc60mk2_type_jp{{#var:typ}}|}}}|{{{pc60mk2_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=
 +
| rating={{{pc60mk2_rating_jp{{#var:typ}}|}}}
 +
}}
 +
}}
 +
 
 +
{{#forargs: pc60mk2sr_date_jp | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{releasesRowPlus
 +
| console=PC6001mkIISR
 +
| region=JP
 +
| date={{#var:dat}}
 +
| price={{{pc60mk2sr_rrp_jp{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{pc60mk2sr_code_jp{{#var:typ}}|}}}
 +
| code2={{{pc60mk2sr_code2_jp{{#var:typ}}|}}}
 +
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 +
  |t=[[PC-6001 mkII SR type-in software|Type-in]][[Category:PC-6001 mkII SR type-in software]]
 +
  |{{#if:{{{pc60mk2sr_type_jp{{#var:typ}}|}}}|{{{pc60mk2sr_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=
 +
| rating={{{pc60mk2sr_rating_jp{{#var:typ}}|}}}
 +
}}
 +
}}
 +
 
 +
{{#forargs: nt_date_us | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{releasesRowPlus
 +
| console=NT
 +
| region=US
 +
| date={{#var:dat}}
 +
| price={{{nt_rrp_us{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{nt_code_us{{#var:typ}}|}}}
 +
| code2={{{nt_code2_us{{#var:typ}}|}}}
 +
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 +
  |{{#if:{{{nt_type_us{{#var:typ}}|}}}|{{{nt_type_us{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=
 +
| rating={{{nt_rating_us{{#var:typ}}|}}}
 +
}}
 +
}}
 +
 
 
|-
 
|-
 
| style="display:none" |
 
| style="display:none" |
Line 8: Line 82:
 
{{#ifeq: {{#var:type}} | 0 |  
 
{{#ifeq: {{#var:type}} | 0 |  
  
{{#if: {{{pc60_date_jp|}}}{{{pc60mk2_date_jp|}}}{{{pc60mk2sr_date_jp|}}}{{{nt_date_us|}}} | [[Category:PC-6000 series games]] | }}
+
{{#if: {{{pc60_date_jp|}}}{{{pc60mk2_date_jp|}}}{{{pc60mk2sr_date_jp|}}}{{{nt_date_us|}}} | [[Category:PC-6000 series games]]{{genre2cat|PC-6000 series}} | }}
  
{{#if: {{{pc60_date_jp|}}} | [[Category:PC-6001 games]]
+
{{#if: {{{pc60_date_jp|}}} | [[Category:PC-6001 games]]{{genre2cat|PC-6001}}
 
{{#vardefine:year|{{lowest
 
{{#vardefine:year|{{lowest
 
|{{year|{{{pc60_date_jp}}}}}
 
|{{year|{{{pc60_date_jp}}}}}
 
}}}}
 
}}}}
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-6001 games]] }}
+
{{ReleasesYearCheck|{{#var:year}}|PC-6001}}
 
| }}
 
| }}
  
{{#if: {{{pc60mk2_date_jp|}}} | [[Category:PC-6001 mkII games]]
+
{{#if: {{{pc60mk2_date_jp|}}} | [[Category:PC-6001 mkII games]]{{genre2cat|PC-6001 mkII}}
 
{{#vardefine:year|{{lowest
 
{{#vardefine:year|{{lowest
 
|{{year|{{{pc60mk2_date_jp}}}}}
 
|{{year|{{{pc60mk2_date_jp}}}}}
 
}}}}
 
}}}}
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-6001 mkII games]] }}
+
{{ReleasesYearCheck|{{#var:year}}|PC-6001 mkII}}
 
| }}
 
| }}
  
{{#if: {{{pc60mk2sr_date_jp|}}} | [[Category:PC-6001 mkII SR games]]
+
{{#if: {{{pc60mk2sr_date_jp|}}} | [[Category:PC-6001 mkII SR games]]{{genre2cat|PC-6001 mkII SR}}
 
{{#vardefine:year|{{lowest
 
{{#vardefine:year|{{lowest
 
|{{year|{{{pc60mk2sr_date_jp}}}}}
 
|{{year|{{{pc60mk2sr_date_jp}}}}}
 
}}}}
 
}}}}
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-6001 mkII SR games]] }}
+
{{ReleasesYearCheck|{{#var:year}}|PC-6001 mkII SR}}
 
| }}
 
| }}
 
| }}
 
| }}
Line 42: Line 116:
 
|-
 
|-
 
</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:06, 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.