Actions

Template

Difference between revisions of "Releases3DS"

From NEC Retro

(Created page with "<includeonly>{{releasesRow|3DS|JP|{{{3ds_date_jp|}}}|¥{{{3ds_rrp_jp|?}}}|{{{3ds_code_jp|?}}}}} {{releasesRow|3DS|JP|{{{3ds_date_jp_d|}}}|¥{{{3ds_rrp_jp_d|?}}}|{{{3ds_code_jp...")
 
 
Line 1: Line 1:
<includeonly>{{releasesRow|3DS|JP|{{{3ds_date_jp|}}}|¥{{{3ds_rrp_jp|?}}}|{{{3ds_code_jp|?}}}}}
+
<includeonly>{{#vardefine:syslist|3ds,vc3ds}}{{#vardefine:rgnlist|{{Regions/Nintendo}}}}{{clearvar|retail|downloadable|vc3ds}}{{#vardefine:year|9999}}
{{releasesRow|3DS|JP|{{{3ds_date_jp_d|}}}|¥{{{3ds_rrp_jp_d|?}}}|{{{3ds_code_jp_d|?}}}|type=Download}}
+
{{#vardefine:i|0}}{{#while:
{{releasesRow|3DS|JP|{{{3ds_date_jp_1|}}}{{{3ds_rrp_jp_1|?}}}|{{{3ds_code_jp_1|?}}}|type={{{3ds_type_jp_1|}}}}}
+
| {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}}
{{releasesRow|3DS|JP|{{{3ds_date_jp_2|}}}|¥{{{3ds_rrp_jp_2|?}}}|{{{3ds_code_jp_2|?}}}|type={{{3ds_type_jp_2|}}}}}
+
|  
{{releasesRow|3DS|JP|{{{3ds_date_jp_3|}}}|¥{{{3ds_rrp_jp_3|?}}}|{{{3ds_code_jp_3|?}}}|type={{{3ds_type_jp_3|}}}}}
+
{{#vardefine:j|0}}{{#while:
{{releasesRow|3DS|US|{{{3ds_date_us|}}}|${{{3ds_rrp_us|?}}}|{{{3ds_code_us|?}}}}}
+
| {{#vardefine:rgn|{{#explode:{{#var:rgnlist}}|,|{{#var:j}}}}}}{{#var:rgn}}
{{releasesRow|3DS|US|{{{3ds_date_us_d|}}}|${{{3ds_rrp_us_d|?}}}|{{{3ds_code_us_d|?}}}|type=Download}}
+
|  
{{releasesRow|3DS|EU|{{{3ds_date_eu|}}}|£{{{3ds_rrp_uk|?}}} €{{{3ds_rrp_eu|?}}}|{{{3ds_code_eu|?}}}}}
 
{{releasesRow|3DS|EU|{{{3ds_date_eu_d|}}}|£{{{3ds_rrp_uk_d|?}}} €{{{3ds_rrp_eu_d|?}}}|{{{3ds_code_eu_d|?}}}|type=Download}}
 
{{releasesRow|3DS|AU|{{{3ds_date_au|}}}|${{{3ds_rrp_au|?}}}|{{{3ds_code_au|?}}}}}
 
{{releasesRow|3DS|KR|{{{3ds_date_kr|}}}|₩{{{3ds_rrp_kr|?}}}|{{{3ds_code_kr|?}}}}}
 
{{releasesRow|VC3DS|JP|{{{vc3ds_date_jp|}}}|¥{{{vc3ds_rrp_jp|?}}}|{{{vc3ds_code_jp|?}}}}}
 
{{releasesRow|VC3DS|US|{{{vc3ds_date_us|}}}|${{{vc3ds_rrp_us|?}}}|{{{vc3ds_code_us|?}}}}}
 
{{releasesRow|VC3DS|EU|{{{vc3ds_date_eu|}}}|£{{{vc3ds_rrp_uk|?}}} €{{{vc3ds_rrp_eu|?}}}|{{{vc3ds_code_eu|?}}}}}
 
|-
 
| style="display:none" |
 
<!-- Games -->
 
{{#ifeq: {{#var:type}} | 0 |  
 
  
{{#if: {{{3ds_date_jp|}}}{{{3ds_date_jp_d|}}}{{{3ds_date_us|}}}{{{3ds_date_us_d|}}}{{{3ds_date_eu|}}}{{{3ds_date_eu_d|}}}{{{3ds_date_au|}}}{{{3ds_date_kr|}}} |
+
{{#forargs: {{#var:sys}}_date_{{#var:rgn}} | typ | dat |
[[Category:Nintendo 3DS games]]
+
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
| }}
+
{{#vardefine:typ1|{{#explode:{{#var:typ}}|_|1}}}}{{#vardefine:typ2|{{#explode:{{#var:typ}}|_|2}}}}
 +
{{#switch:{{#var:sys}}|vc3ds={{#vardefine:downloadable|true}}{{#vardefine:vc3ds|true}}|{{#ifeq:{{#var:typ1}}|d|{{#vardefine:downloadable|true}}|{{#vardefine:retail|true}}}}}}
 +
{{releasesRowPlus
 +
| console={{#switch:{{#var:sys}}|vc3ds=VC3DS|3DS}}
 +
| 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={{#switch:{{#var:typ1}}
 +
  |stb=[[Sega the Best]]
 +
  |d={{#var:typ2}}
 +
  |{{#if:{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{#var:typ1}}}}
 +
  }}
 +
| download={{#switch:{{#var:sys}}|vc3ds=yes|{{#switch:{{#var:typ1}}|d=yes}}}}
 +
| rating={{{{{#var:sys}}_rating_{{#var:rgn}}{{#var:typ}}|}}}
 +
}}
 +
}}
  
{{#if: {{{vc3ds_date_jp|}}}{{{vc3ds_date_us|}}}{{{vc3ds_date_eu|}}} |
+
{{incvar|j}}
[[Category:Nintendo 3DS Virtual Console games]]
+
}}
| }}
+
{{incvar|i}}
 
+
}}
| }}
+
{{#switch:{{#var:type}}
 
+
| 0=[[Category:Nintendo 3DS games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} Nintendo 3DS games]]}}{{#if:{{#var:vc3ds}}|[[Category:Nintendo 3DS Virtual Console games]]|{{#if:{{#var:downloadable}}|{{#if:{{#var:retail}}||[[Category:Download-only Nintendo 3DS games]]}}}}}}
<!-- Accessories -->
+
| 1=[[Category:Nintendo 3DS accessories]]
{{#ifeq: {{#var:type}} | 1 | [[Category:Nintendo 3DS accessories]] | }}
+
| 2=
 
+
}}
<!-- Consoles -->
 
{{#ifeq: {{#var:type}} | 2 |  | }}
 
 
 
|-
 
| 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>

Latest revision as of 08:04, 31 December 2021

See Template:Releases/Usage for how to use.