Actions

Template

Difference between revisions of "ReleasesPC98"

From NEC Retro

(hopefully)
Line 1: Line 1:
<includeonly>{{releasesRowPlus|PC9801|JP|date={{#var:date}}| price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}}| code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}}
+
<includeonly>{{#vardefine:syslist|pc98}}{{#vardefine:rgnlist|{{Regions/Classic}}}}{{#vardefine:year|9999}}
 +
{{#vardefine:i|0}}{{#while:
 +
| {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}}
 +
|
 +
{{#vardefine:j|0}}{{#while:
 +
| {{#vardefine:rgn|{{#explode:{{#var:rgnlist}}|,|{{#var:j}}}}}}{{#var:rgn}}
 +
|
 +
 
 +
{{#forargs: {{#var:sys}}_date_{{#var:rgn}} | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{releasesRowPlus
 +
| console=PC9801
 +
| 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}}|}}}
 
| code2={{{{{#var:sys}}_code2_{{#var:rgn}}{{#var:typ}}|}}}
| type={{#switch:{{#var:typ1}}
+
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
  |d={{#var:typ2}}
+
   |{{#if:{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{#var:typ2}}}}
   |{{#if:{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{#var:typ1}}}}
 
 
   }}
 
   }}
 +
| download=
 +
| rating={{{{{#var:sys}}_rating_{{#var:rgn}}{{#var:typ}}|}}}
 +
 
{{releasesRowPlus|PC9801E|JP|{{{pc98e_date_jp|}}}|¥{{{pc98e_rrp_jp|?}}}|{{{pc98e_code_jp|?}}}}}
 
{{releasesRowPlus|PC9801E|JP|{{{pc98e_date_jp|}}}|¥{{{pc98e_rrp_jp|?}}}|{{{pc98e_code_jp|?}}}}}
 
{{releasesRowPlus|PC9801F|JP|{{{pc98f_date_jp|}}}|¥{{{pc98f_rrp_jp|?}}}|{{{pc98f_code_jp|?}}}}}
 
{{releasesRowPlus|PC9801F|JP|{{{pc98f_date_jp|}}}|¥{{{pc98f_rrp_jp|?}}}|{{{pc98f_code_jp|?}}}}}

Revision as of 11:12, 8 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.