Difference between revisions of "Releases3DS"
From Sega Retro
m (Text replacement - "0=\[\[Category:(.*) games\]\]" to "0=Category:$1 games{{genre2cat|$1|notsega=yes}}") |
|||
(25 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{ | + | <includeonly>{{#vardefine:syslist|3ds,vc3ds}}{{#vardefine:rgnlist|{{Regions/Nintendo}}}}{{clearvar|retail|downloadable|vc3ds}}{{#vardefine:year|9999}} |
− | {{ | + | {{#vardefine:i|0}}{{#while: |
− | {{ | + | | {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}} |
− | + | | | |
− | {{ | + | {{#vardefine:j|0}}{{#while: |
− | + | | {{#vardefine:rgn|{{#explode:{{#var:rgnlist}}|,|{{#var:j}}}}}}{{#var:rgn}} | |
− | + | | | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | | }} | + | {{#forargs: {{#var:sys}}_date_{{#var:rgn}} | typ | dat | |
+ | {{#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}}|}}} | ||
+ | }} | ||
+ | }} | ||
− | + | {{incvar|j}} | |
− | {{# | + | }} |
− | + | {{incvar|i}} | |
− | + | }} | |
− | {{#ifeq: {{#var: | + | {{#switch:{{#var:type}} |
− | + | | 0=[[Category:Nintendo 3DS games]]{{genre2cat|Nintendo 3DS|notsega=yes}}{{#ifeq:{{#var:year}}|9999||[[Category:All {{#var:year}} games]][[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]]}}}}}} | |
− | | | + | | 1=[[Category:Nintendo 3DS accessories]] |
+ | | 2= | ||
+ | }} | ||
</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 06:43, 15 July 2024
See Template:Releases/Usage for how to use.