Difference between revisions of "Releases360"

From Sega Retro

Line 15: Line 15:
 
| date={{#var:dat}}
 
| date={{#var:dat}}
 
| price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}}
 
| price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}}
| currency={{#ifeq:{{{{{#var:sys}}_pts_{{#var:rgn}}{{#var:typ}}|}}}|yes|*[[wikipedia:Microsoft Points|pts]]}}
+
| currency={{#switch:{{{pts|}}},{{{{{#var:sys}}_pts_{{#var:rgn}}{{#var:typ}}|}}}|yes,|yes,yes|no,yes|,yes=*[[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 16:37, 25 May 2018

See Template:Releases/Usage for how to use.