Actions

Template

Difference between revisions of "ReleasesPC98"

From NEC Retro

Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#vardefine:syslist|pc98}}{{#vardefine:rgnlist|{{Regions/Classic}}}}{{#vardefine:year|9999}}
+
{{#vardefine:year|9999}}
{{#vardefine:i|0}}{{#while:
+
{{#forargs: pc98_date_jp | typ | dat |  
| {{#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}}}}}}}}
 
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 
{{releasesRowPlus
 
{{releasesRowPlus
Line 14: Line 7:
 
| region=JP
 
| region=JP
 
| date={{#var:dat}}
 
| date={{#var:dat}}
| price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}}
+
| price=pc98_rrp_jp{{#var:typ}}|}}}
 
| currency=
 
| currency=
| code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}}
+
| code={{{pc98_code_jp{{#var:typ}}|}}}
| code2={{{{{#var:sys}}_code2_{{#var:rgn}}{{#var:typ}}|}}}
+
| code2={{{pc98_code2_jp{{#var:typ}}|}}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
   |{{#if:{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{#var:typ2}}}}
+
   |{{#if:{{{pc98_type_jp{{#var:typ}}|}}}|{{{pc98_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 
   }}
 
   }}
 
| download=
 
| download=
| rating={{{{{#var:sys}}_rating_{{#var:rgn}}{{#var:typ}}|}}}
+
| rating={{{pc98_rating_jp{{#var:typ}}|}}}
 
}}
 
}}
 
}}
 
}}

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