Actions

Template

Difference between revisions of "ReleasesMultiFormat"

From NEC Retro

(added ReleasesYearCheck)
 
Line 39: Line 39:
 
{{#vardefine:currentformat|{{Code2Format|{{#var:output}}}}}}
 
{{#vardefine:currentformat|{{Code2Format|{{#var:output}}}}}}
 
{{#switch:{{#var:type}}
 
{{#switch:{{#var:type}}
| 0=[[Category:Multi-format games]][[Category:{{#var:currentformat}} games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} {{#var:currentformat}} games]]}}{{genre2cat|{{#var:currentformat}}}}
+
| 0=[[Category:Multi-format games]][[Category:{{#var:currentformat}} games]]{{ReleasesYearCheck|{{#var:year}}|{{#var:currentformat}}}}{{genre2cat|{{#var:currentformat}}}}
 
}}
 
}}
 
{{incvar|i}}
 
{{incvar|i}}

Latest revision as of 15:20, 4 July 2024

See Template:Releases/Usage for how to use.

This is for multi-format releases, e.g. a disk that works in two different machines, and was sold as one package.

| multi_formats=PC,Mac,Linux
| multi_date_jp=xxx
| multi_rrp_jp=yyy
| multi_code_jp=zzz
| multi_date_us=xxx
| multi_rrp_us=yyy
| multi_code_us=zzz
Release Date RRP Code
Windows PC
Macintosh
Template:Linux JP
¥456456 789
Windows PC
Macintosh
Template:Linux US
$DEFDEF GHI