Difference between revisions of "ReleasesPC98"
From NEC Retro
(0 idea what i'm doing, but i need to get this to display different currencies that arent the yen) |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:syslist|pc98,pc98e,pc98f,pc98m,pc98u,pc98vf,pc98vm,pc98uv,pc98vx,pc98ux,pc98ra,pc98fa,98f,pc98bx4,pc98es,pc9821,pc98ba2,pc98n}}{{#vardefine:rgnlist|{{Regions/Classic}}}}{{#vardefine:year|9999}} | + | <includeonly>{{#vardefine:syslist|pc98,pc98e,pc98f,pc98fc,pc98m,pc98u,pc98vf,pc98vm,pc98uv,pc98vx,pc98ux,pc98ra,pc98fa,98f,pc98bx4,pc98es,pc9821,pc98ba2,pc98n}}{{#vardefine:rgnlist|{{Regions/Classic}}}}{{#vardefine:year|9999}} |
{{#vardefine:i|0}}{{#while: | {{#vardefine:i|0}}{{#while: | ||
| {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}} | | {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}} | ||
Line 9: | Line 9: | ||
{{#forargs: {{#var:sys}}_date_{{#var:rgn}} | typ | dat | | {{#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}}}}}}}} | ||
− | {{#switch:{{#var:sys}}|pc98={{#vardefine:pc98|true}}|pc98e={{#vardefine:pc98e|true}}|pc98f={{#vardefine:pc98f|true}}|pc98m={{#vardefine:pc98m|true}}|pc98u={{#vardefine:pc98u|true}}|pc98vf={{#vardefine:pc98vf|true}}|pc98vm={{#vardefine:pc98vm|true}}|pc98uv={{#vardefine:pc98uv|true}}|pc98vx={{#vardefine:pc98vx|true}}|pc98ux={{#vardefine:pc98ux|true}}|pc98ra={{#vardefine:pc98ra|true}}|pc98fa={{#vardefine:pc98fa|true}}|98f={{#vardefine:98f|true}}|pc98bx4={{#vardefine:pc98bx4|true}}|pc98es={{#vardefine:pc98es|true}}|pc9821={{#vardefine:pc9821|true}}|pc98ba2={{#vardefine:pc98ba2|true}}|pc98n={{#vardefine:pc98n|true}}}} | + | {{#switch:{{#var:sys}}|pc98={{#vardefine:pc98|true}}|pc98e={{#vardefine:pc98e|true}}|pc98f={{#vardefine:pc98f|true}}||pc98fc={{#vardefine:pc98fc|true}}|pc98m={{#vardefine:pc98m|true}}|pc98u={{#vardefine:pc98u|true}}|pc98vf={{#vardefine:pc98vf|true}}|pc98vm={{#vardefine:pc98vm|true}}|pc98uv={{#vardefine:pc98uv|true}}|pc98vx={{#vardefine:pc98vx|true}}|pc98ux={{#vardefine:pc98ux|true}}|pc98ra={{#vardefine:pc98ra|true}}|pc98fa={{#vardefine:pc98fa|true}}|98f={{#vardefine:98f|true}}|pc98bx4={{#vardefine:pc98bx4|true}}|pc98es={{#vardefine:pc98es|true}}|pc9821={{#vardefine:pc9821|true}}|pc98ba2={{#vardefine:pc98ba2|true}}|pc98n={{#vardefine:pc98n|true}}}} |
{{releasesRowPlus | {{releasesRowPlus | ||
− | | console={{#switch:{{#var:sys}}|pc98=PC9801|pc98e=PC9801E|pc98f=PC9801F|pc98m=PC9801M|pc98u=PC9801U|pc98vf=PC9801VF|pc98vm=PC9801VM|pc98uv=PC9801UV|pc98vx=PC9801VX|pc98ux=PC9801UX|pc98ra=PC9801RA|pc98fa=PC9801FA|98f=98FELLOW|pc98bx4=PC9801BX4|pc98es=PC9801ES|pc9821=PC9821|pc98ba2=PC9801BA2|pc98n=PC9801N}} | + | | console={{#switch:{{#var:sys}}|pc98=PC9801|pc98e=PC9801E|pc98f=PC9801F|pc98fc=PC9801FC|pc98m=PC9801M|pc98u=PC9801U|pc98vf=PC9801VF|pc98vm=PC9801VM|pc98uv=PC9801UV|pc98vx=PC9801VX|pc98ux=PC9801UX|pc98ra=PC9801RA|pc98fa=PC9801FA|98f=98FELLOW|pc98bx4=PC9801BX4|pc98es=PC9801ES|pc9821=PC9821|pc98ba2=PC9801BA2|pc98n=PC9801N}} |
| region={{uc:{{#var:rgn}}}} | | region={{uc:{{#var:rgn}}}} | ||
| date={{#var:dat}} | | date={{#var:dat}} | ||
| packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}} | | packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}} | ||
| price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}} | | price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}} | ||
− | | currency=| currency={{#switch:{{#var:sys}}| | + | | currency=| currency={{#switch:{{#var:sys}}|pc98fc}} |
| code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}} | | code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}} | ||
| code2={{{{{#var:sys}}_code2_{{#var:rgn}}{{#var:typ}}|}}} | | code2={{{{{#var:sys}}_code2_{{#var:rgn}}{{#var:typ}}|}}} | ||
Line 35: | Line 35: | ||
#if:{{#var:pc98e}}|[[Category:PC-9801 E games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 E games]][[Category:All {{#var:year}} games]]}}[[Category:PC-9800 series games]]{{genre2cat|PC-9800 series}}}}{{ | #if:{{#var:pc98e}}|[[Category:PC-9801 E games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 E games]][[Category:All {{#var:year}} games]]}}[[Category:PC-9800 series games]]{{genre2cat|PC-9800 series}}}}{{ | ||
#if:{{#var:pc98f}}|[[Category:PC-9801 F games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 F games]][[Category:All {{#var:year}} games]]}}[[Category:PC-9800 series games]]{{genre2cat|PC-9800 series}}}}{{ | #if:{{#var:pc98f}}|[[Category:PC-9801 F games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 F games]][[Category:All {{#var:year}} games]]}}[[Category:PC-9800 series games]]{{genre2cat|PC-9800 series}}}}{{ | ||
+ | #if:{{#var:pc98fc}}|[[Category:PC-9801 FC games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 F games]][[Category:All {{#var:year}} games]]}}[[Category:PC-9800 series games]]{{genre2cat|PC-9800 series}}}}{{ | ||
#if:{{#var:pc98m}}|[[Category:PC-9801 M games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 M games]][[Category:All {{#var:year}} games]]}}[[Category:PC-9800 series games]]{{genre2cat|PC-9800 series}}}}{{ | #if:{{#var:pc98m}}|[[Category:PC-9801 M games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 M games]][[Category:All {{#var:year}} games]]}}[[Category:PC-9800 series games]]{{genre2cat|PC-9800 series}}}}{{ | ||
#if:{{#var:pc98u}}|[[Category:PC-9801 U games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 U games]][[Category:All {{#var:year}} games]]}}[[Category:PC-9800 series games]]{{genre2cat|PC-9800 series}}}}{{ | #if:{{#var:pc98u}}|[[Category:PC-9801 U games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-9801 U games]][[Category:All {{#var:year}} games]]}}[[Category:PC-9800 series games]]{{genre2cat|PC-9800 series}}}}{{ |
Revision as of 16:58, 4 May 2024
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.