Actions

Template

Difference between revisions of "ReleasesPC66"

From NEC Retro

(Created page with "<includeonly>{{releasesRow|PC6601|JP|{{{pc66_date_jp|}}}|¥{{{pc66_rrp_jp|?}}}|{{{pc66_code_jp|?}}}}} {{releasesRow|PC6601SR|JP|{{{pc66sr_date_jp|}}}|¥{{{pc66sr_rrp_jp|?}}}|{...")
 
(added ReleasesYearCheck)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{releasesRow|PC6601|JP|{{{pc66_date_jp|}}}|¥{{{pc66_rrp_jp|?}}}|{{{pc66_code_jp|?}}}}}
+
<includeonly>
{{releasesRow|PC6601SR|JP|{{{pc66sr_date_jp|}}}|¥{{{pc66sr_rrp_jp|?}}}|{{{pc66sr_code_jp|?}}}}}
+
{{#vardefine:year|9999}}
 +
 
 +
{{#forargs: pc66_date_jp | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{releasesRowPlus
 +
| console=PC6601
 +
| region=JP
 +
| date={{#var:dat}}
 +
| price={{{pc66_rrp_jp{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{pc66_code_jp{{#var:typ}}|}}}
 +
| code2={{{pc66_code2_jp{{#var:typ}}|}}}
 +
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 +
  |t=[[PC-6601 type-in software|Type-in]][[Category:PC-6601 type-in software]]
 +
  |{{#if:{{{pc66_type_jp{{#var:typ}}|}}}|{{{pc66_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=
 +
| rating={{{pc66_rating_jp{{#var:typ}}|}}}
 +
}}
 +
}}
 +
 
 +
{{#forargs: pc66sr_date_jp | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{releasesRowPlus
 +
| console=PC6601SR
 +
| region=JP
 +
| date={{#var:dat}}
 +
| price={{{pc66sr_rrp_jp{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{pc66sr_code_jp{{#var:typ}}|}}}
 +
| code2={{{pc66sr_code2_jp{{#var:typ}}|}}}
 +
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 +
  |t=[[PC-6601 SR type-in software|Type-in]][[Category:PC-6601 SR type-in software]]
 +
  |{{#if:{{{pc66sr_type_jp{{#var:typ}}|}}}|{{{pc66sr_type_jp{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=
 +
| rating={{{pc66sr_rating_jp{{#var:typ}}|}}}
 +
}}
 +
}}
 +
 
 
|-
 
|-
 
| style="display:none" |
 
| style="display:none" |
Line 12: Line 51:
 
|{{year|{{{pc66_date_jp}}}}}
 
|{{year|{{{pc66_date_jp}}}}}
 
}}}}
 
}}}}
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-6601 games]] }}
+
{{ReleasesYearCheck|{{#var:year}}|PC-6601}}
 
| }}
 
| }}
  
Line 19: Line 58:
 
|{{year|{{{pc66sr_date_jp}}}}}
 
|{{year|{{{pc66sr_date_jp}}}}}
 
}}}}
 
}}}}
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-6601 SR games]] }}
+
{{ReleasesYearCheck|{{#var:year}}|PC-6601 SR}}
 
| }}
 
| }}
 
| }}
 
| }}
Line 33: Line 72:
 
|-
 
|-
 
</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:07, 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.