Difference between revisions of "Releases360"

From Sega Retro

m (Text replacement - "0=\[\[Category:(.*) games\]\]" to "0=Category:$1 games{{genre2cat|$1|notsega=yes}}")
 
(68 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{releasesRow|360|JP|{{{360_date_jp|no}}}|¥{{{360_rrp_jp|?}}}|{{{360_code_jp|?}}}}}
+
<includeonly>{{#vardefine:syslist|360}}{{#vardefine:rgnlist|{{Regions/Modern}}}}{{clearvar|retail|downloadable}}{{#vardefine:year|9999}}
{{releasesRow|360|JP|{{{360_date_jp_1|no}}}|¥{{{360_rrp_jp_1|?}}}|{{{360_code_jp_1|?}}}|type={{{360_type_jp_1|}}}}}
+
{{#vardefine:i|0}}{{#while:
{{releasesRow|360|JP|{{{360_date_jp_2|no}}}|¥{{{360_rrp_jp_2|?}}}|{{{360_code_jp_2|?}}}|type={{{360_type_jp_2|}}}}}
+
| {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}}
{{releasesRow|360|JP|{{{360_date_jp_3|no}}}|¥{{{360_rrp_jp_3|?}}}|{{{360_code_jp_3|?}}}|type={{{360_type_jp_3|}}}}}
+
|  
{{releasesRow|360|JP|{{{360_date_jp_p|no}}}|¥{{{360_rrp_jp_p|?}}}|{{{360_code_jp_p|?}}}|type=Platinum}}
+
{{#vardefine:j|0}}{{#while:
{{releasesRow|360|US|{{{360_date_us|no}}}|${{{360_rrp_us|?}}}|{{{360_code_us|?}}}}}
+
| {{#vardefine:rgn|{{#explode:{{#var:rgnlist}}|,|{{#var:j}}}}}}{{#var:rgn}}
{{releasesRow|360|US|{{{360_date_us_1|no}}}|${{{360_rrp_us_1|?}}}|{{{360_code_us_1|?}}}|type={{{360_type_us_1|}}}}}
+
|  
{{releasesRow|360|US|{{{360_date_us_p|no}}}|${{{360_rrp_us_p|?}}}|{{{360_code_us_p|?}}}|type=Platinum}}
 
{{releasesRow|360|US|{{{360_date_us_d|no}}}|${{{360_rrp_us_d|?}}}|{{{360_code_us_d|?}}}|type=Download}}
 
{{releasesRow|360|EU|{{{360_date_eu|no}}}|£{{{360_rrp_uk|?}}} €{{{360_rrp_eu|?}}}|{{{360_code_eu|?}}}}}
 
{{releasesRow|360|EU|{{{360_date_eu_1|no}}}|£{{{360_rrp_uk_1|?}}} €{{{360_rrp_eu_1|?}}}|{{{360_code_eu_1|?}}}|type={{{360_type_eu_1|}}}}}
 
{{releasesRow|360|EU|{{{360_date_eu_c|no}}}|£{{{360_rrp_uk_c|?}}} €{{{360_rrp_eu_c|?}}}|{{{360_code_eu_c|?}}}|type=Classics}}
 
{{releasesRow|360|EU|{{{360_date_eu_d|no}}}|£{{{360_rrp_uk_d|?}}} €{{{360_rrp_eu_d|?}}}|{{{360_code_eu_d|?}}}|type=Download}}
 
{{releasesRow|360|AU|{{{360_date_au|no}}}|${{{360_rrp_au|?}}}|{{{360_code_au|?}}}}}
 
{{releasesRow|360|BR|{{{360_date_br|no}}}|R${{{360_rrp_br|?}}}|{{{360_code_br|?}}}}}
 
{{releasesRow|360|KR|{{{360_date_kr|no}}}|₩{{{360_rrp_kr|?}}}|{{{360_code_kr|?}}}}}
 
{{releasesRow|360|AS|{{{360_date_as|no}}}|{{{360_rrp_as|?}}}|{{{360_code_as|?}}}}}
 
{{releasesRow|XBLA|JP|{{{xbla_date_jp|no}}}|¥{{{xbla_rrp_jp|?}}}|{{{xbla_code_jp|?}}}}}
 
{{releasesRow|XBLA|US|{{{xbla_date_us|no}}}|${{{xbla_rrp_us|?}}}|{{{xbla_code_us|?}}}}}
 
{{releasesRow|XBLA|EU|{{{xbla_date_eu|no}}}|£{{{xbla_rrp_uk|?}}} €{{{xbla_rrp_eu|?}}}|{{{xbla_code_eu|?}}}}}
 
|-
 
| style="display:none" |
 
<!-- Games -->
 
{{#ifeq: {{#var:type}} | 0 |  
 
  
{{#if: {{{360_date_jp|}}}{{{360_date_us|}}}{{{360_date_eu|}}}{{{360_date_au|}}}{{{360_date_kr|}}}{{{360_date_as|}}} | [[Category:Xbox 360 games]]
+
{{#forargs: {{#var:sys}}_date_{{#var:rgn}} | typ | dat |
{{#vardefine:year|{{lowest
+
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
|{{year|{{{360_date_jp}}}}}
+
{{#vardefine:typ1|{{#explode:{{#var:typ}}|_|1}}}}{{#vardefine:typ2|{{#explode:{{#var:typ}}|_|2}}}}
|{{year|{{{360_date_us}}}}}
+
{{#ifeq:{{#var:typ1}}|d|{{#vardefine:downloadable|true}}|{{#vardefine:retail|true}}}}
|{{year|{{{360_date_eu}}}}}
+
{{releasesRowPlus
|{{year|{{{360_date_au}}}}}
+
| console=360
|{{year|{{{360_date_kr}}}}}
+
| region={{uc:{{#var:rgn}}}}
|{{year|{{{360_date_as}}}}}
+
| date={{#var:dat}}
}}}}
+
| price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}}
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} Xbox 360 games]] }}
+
| currency={{#switch:{{#var:typ1}}|d={{#switch:{{{pts|}}},{{{{{#var:sys}}_pts_{{#var:rgn}}{{#var:typ}}|}}}|yes,|yes,yes|no,yes|,yes=*[[wikipedia:Microsoft Points|MSP]]}}}}
| }}
+
| code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}}
 +
| code2={{{{{#var:sys}}_code2_{{#var:rgn}}{{#var:typ}}|}}}
 +
| type={{#switch:{{#var:typ1}}
 +
  |c=Classics
 +
  |p=Platinum
 +
  |d={{#var:typ2}}
 +
  |{{#if:{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{#var:typ1}}}}
 +
  }}
 +
| download={{#ifeq:{{#var:typ1}}|d|yes}}
 +
| rating={{{{{#var:sys}}_rating_{{#var:rgn}}{{#var:typ}}|}}}
 +
}}
 +
}}
  
{{#if: {{{xbla_date_jp|}}}{{{xbla_date_us|}}}{{{xbla_date_eu|}}} | [[Category:Xbox Live Arcade games]] | }}
+
{{incvar|j}}
 
+
}}
| }}
+
{{incvar|i}}
 
+
}}
<!-- Accessories -->
+
{{#switch:{{#var:type}}
{{#ifeq: {{#var:type}} | 1 | [[Category:Xbox 360 accessories]] | }}
+
| 0=[[Category:Xbox 360 games]]{{genre2cat|Xbox 360|notsega=yes}}{{ReleasesYearCheck|{{#var:year}}|Xbox 360}}{{#if:{{#var:downloadable}}|{{#if:{{#var:retail}}||[[Category:Download-only Xbox 360 games]]}}}}
 
+
| 1=[[Category:Xbox 360 accessories]]
<!-- Consoles -->
+
| 2=
{{#ifeq: {{#var:type}} | 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 05:43, 15 July 2024

See Template:Releases/Usage for how to use.