Actions

Template

Difference between revisions of "ReleasesPC98"

From NEC Retro

(final test, i think i actually got it down now)
(seeing how to expand it for all the iterations)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{{#vardefine:year|9999}}
 
{{#vardefine:year|9999}}
 +
 
{{#forargs: pc98_date_jp | typ | dat |  
 
{{#forargs: pc98_date_jp | typ | dat |  
 
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
Line 22: Line 23:
 
{{releasesRow|PC9801F|JP|{{{pc98f_date_jp|}}}|¥{{{pc98f_rrp_jp|?}}}|{{{pc98f_code_jp|?}}}}}
 
{{releasesRow|PC9801F|JP|{{{pc98f_date_jp|}}}|¥{{{pc98f_rrp_jp|?}}}|{{{pc98f_code_jp|?}}}}}
 
{{releasesRow|PC9801M|JP|{{{pc98m_date_jp|}}}|¥{{{pc98m_rrp_jp|?}}}|{{{pc98m_code_jp|?}}}}}
 
{{releasesRow|PC9801M|JP|{{{pc98m_date_jp|}}}|¥{{{pc98m_rrp_jp|?}}}|{{{pc98m_code_jp|?}}}}}
{{releasesRow|PC9801U|JP|{{{pc98u_date_jp|}}}|¥{{{pc98u_rrp_jp|?}}}|{{{pc98u_code_jp|?}}}}}
+
 
 +
{{#forargs: pc98u_date_jp | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{releasesRowPlus
 +
| console=PC9801U
 +
| region=JP
 +
| date={{#var:dat}}
 +
| price={{{pc98u_rrp_jp{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{pc98u_code_jp{{#var:typ}}|}}}
 +
| code2={{{pc98u_code2_jp{{#var:typ}}|}}}
 +
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 +
  |{{#if:{{{pc98u_type_jp{{#var:typ}}|}}}|{{{pc98u_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=
 +
| rating={{{pc98u_rating_jp{{#var:typ}}|}}}
 +
}}
 +
}}
 +
 
 
{{releasesRow|PC9801VF|JP|{{{pc98vf_date_jp|}}}|¥{{{pc98vf_rrp_jp|?}}}|{{{pc98vf_code_jp|?}}}}}
 
{{releasesRow|PC9801VF|JP|{{{pc98vf_date_jp|}}}|¥{{{pc98vf_rrp_jp|?}}}|{{{pc98vf_code_jp|?}}}}}
 
{{releasesRow|PC9801VM|JP|{{{pc98vm_date_jp|}}}|¥{{{pc98vm_rrp_jp|?}}}|{{{pc98vm_code_jp|?}}}}}
 
{{releasesRow|PC9801VM|JP|{{{pc98vm_date_jp|}}}|¥{{{pc98vm_rrp_jp|?}}}|{{{pc98vm_code_jp|?}}}}}
Line 33: Line 52:
 
{{releasesRow|PC9801BX4|JP|{{{pc98bx4_date_jp|}}}|¥{{{pc98bx4_rrp_jp|?}}}|{{{pc98bx4_code_jp|?}}}}}
 
{{releasesRow|PC9801BX4|JP|{{{pc98bx4_date_jp|}}}|¥{{{pc98bx4_rrp_jp|?}}}|{{{pc98bx4_code_jp|?}}}}}
 
{{releasesRow|PC9821|JP|{{{pc9821_date_jp|}}}|¥{{{pc9821_rrp_jp|?}}}|{{{pc9821_code_jp|?}}}}}
 
{{releasesRow|PC9821|JP|{{{pc9821_date_jp|}}}|¥{{{pc9821_rrp_jp|?}}}|{{{pc9821_code_jp|?}}}}}
 +
 
|-
 
|-
 
| style="display:none" |
 
| style="display:none" |

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