Actions

Template

Difference between revisions of "ReleasesPC100"

From NEC Retro

m (Black Squirrel moved page Template:PC100 to Template:ReleasesPC100 without leaving a redirect)
Line 1: Line 1:
<includeonly>{{releasesRow|PC100|JP|{{{pc100_date_jp|}}}|¥{{{pc100_rrp_jp|?}}}|{{{pc100_code_jp|?}}}}}
+
<includeonly>{{#vardefine:syslist|pc100}}{{#vardefine:rgnlist|{{Regions/Classic}}}}{{#vardefine:year|9999}}
|-
+
{{#vardefine:i|0}}{{#while:
| style="display:none" |
+
| {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}}
<!-- Games -->
+
|  
{{#ifeq: {{#var:type}} | 0 |  
+
{{#vardefine:j|0}}{{#while:
 +
| {{#vardefine:rgn|{{#explode:{{#var:rgnlist}}|,|{{#var:j}}}}}}{{#var:rgn}}
 +
|  
  
{{#if: {{{pc100_date_jp|}}} | [[Category:PC-100 games]] | }}
+
{{#forargs: {{#var:sys}}_date_{{#var:rgn}} | typ | dat |
 +
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 +
{{releasesRowPlus
 +
| console=PC100
 +
| 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}}|}}}
 +
| 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}}}}
 +
  }}
 +
| download=
 +
| rating={{{{{#var:sys}}_rating_{{#var:rgn}}{{#var:typ}}|}}}
 +
}}
 +
}}
  
{{#if: {{{pc100_date_jp|}}} | [[Category:PC-100 games]]
+
{{incvar|j}}
{{#vardefine:year|{{lowest
+
}}
|{{year|{{{pc100_date_jp}}}}}
+
{{incvar|i}}
}}}}
+
}}
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PC-100 games]] }}
+
{{#switch:{{#var:type}}
| }}
+
| 0=[[Category:PC-100 games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC-100 games]]}}{{genre2cat|PC-100}}
| }}
+
| 1=[[Category:PC-100 accessories]]
 
+
| 2=[[Category:PC-100 hardware]]
<!-- Accessories -->
+
}}
{{#ifeq: {{#var:type}} | 1 | [[Category:PC-100 accessories]] | }}
 
 
 
<!-- Consoles -->
 
{{#ifeq: {{#var:type}} | 2 | [[Category:PC-100 hardware]] | }}
 
 
 
|-
 
| style="display:none" |
 
|-
 
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
See [[Template:Releases/Usage]] for how to use.
 
See [[Template:Releases/Usage]] for how to use.
  
 
[[Category:Releases templates]]</noinclude>
 
[[Category:Releases templates]]</noinclude>

Revision as of 20:57, 31 January 2022

See Template:Releases/Usage for how to use.