Difference between revisions of "Releases360"

From Sega Retro

Line 14: Line 14:
 
| region={{uc:{{#var:rgn}}}}
 
| region={{uc:{{#var:rgn}}}}
 
| date={{#var:dat}}
 
| date={{#var:dat}}
| price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}}
+
| price={{#vardefine:prc|{{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}}}}{{#var:prc}}
| currency={{#if:{{#ifeq:{{#var:sys}}|xbla|true}}{{#ifeq:{{#var:sys}}{{#var:typ}}|360_d|true}}|{{#if:{{#pos:{{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}}|.}}||*[[wikipedia:Microsoft Points|pts]]}}}}
+
| currency={{#if:{{#ifeq:{{#var:sys}}|xbla|true}}{{#ifeq:{{#var:sys}}{{#var:typ}}|360_d|true}}|{{#if:{{#pos:{{#var:prc}}|.}}{{#pos:{{#var:prc}}|(}}||*[[wikipedia:Microsoft Points|pts]]}}}}
 
| code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}}
 
| code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}
 
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}}

Revision as of 19:57, 23 May 2018

See Template:Releases/Usage for how to use.