|
|
(17 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
− | <includeonly>{{releasesRow|SG|JP|{{{sg_date_jp|}}}|¥{{{sg_rrp_jp|?}}}|{{{sg_code_jp|?}}}}} | + | <includeonly>{{#vardefine:syslist|sg,sc,sf}}{{#vardefine:rgnlist|{{Regions/Classic}}}}{{clearvar|sg1000|sc3000|sf7000}}{{#vardefine:year|9999}} |
− | {{releasesRow|SG|JP|{{{sg_date_jp_c|}}}|¥{{{sg_rrp_jp_c|?}}}|{{{sg_code_jp_c|?}}}|type=[[Sega Card|Card]]}} | + | {{#vardefine:i|0}}{{#while: |
− | {{releasesRow|SG|JP|{{{sg_date_jp_1|}}}|¥{{{sg_rrp_jp_1|?}}}|{{{sg_code_jp_1|?}}}|type={{{sg_type_jp_1|}}}}} | + | | {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}} |
− | {{releasesRow|SG|JP|{{{sg_date_jp_2|}}}|¥{{{sg_rrp_jp_2|?}}}|{{{sg_code_jp_2|?}}}|type={{{sg_type_jp_2|}}}}}
| + | | |
− | {{releasesRow|SG|JP|{{{sg_date_jp_3|}}}|¥{{{sg_rrp_jp_3|?}}}|{{{sg_code_jp_3|?}}}|type={{{sg_type_jp_3|}}}}} | + | {{#vardefine:j|0}}{{#while: |
− | {{releasesRow|SG|US|{{{sg_date_us|}}}|${{{sg_rrp_us|?}}}|{{{sg_code_us|?}}}}}
| + | | {{#vardefine:rgn|{{#explode:{{#var:rgnlist}}|,|{{#var:j}}}}}}{{#var:rgn}} |
− | {{releasesRow|SG|EU|{{{sg_date_eu|}}}|£{{{sg_rrp_uk|?}}}|{{{sg_code_eu|?}}}}} | + | | |
− | {{releasesRow|SG|UK|{{{sg_date_uk|}}}|£{{{sg_rrp_uk|?}}}|{{{sg_code_uk|?}}}}}
| |
− | {{releasesRow|SG|FR|{{{sg_date_fr|}}}|{{{sg_rrp_fr|?}}}FF|{{{sg_code_fr|?}}}}}
| |
− | {{releasesRow|SG|IT|{{{sg_date_it|}}}|{{{sg_rrp_it|?}}}£|{{{sg_code_it|?}}}}}
| |
− | {{releasesRow|SG|FI|{{{sg_date_fi|}}}|{{{sg_rrp_fi|?}}}mk|{{{sg_code_fi|?}}}}}
| |
− | {{releasesRow|SG|AU|{{{sg_date_au|}}}|${{{sg_rrp_au|?}}}|{{{sg_code_au|?}}}}}
| |
− | {{releasesRow|SG|NZ|{{{sg_date_nz|}}}|${{{sg_rrp_nz|?}}}|{{{sg_code_nz|?}}}}}
| |
− | {{releasesRow|SG|TW|{{{sg_date_tw|}}}|NT${{{sg_rrp_tw|?}}}|{{{sg_code_tw|?}}}}}
| |
− | {{releasesRow|SC|JP|{{{sc_date_jp|}}}|¥{{{sc_rrp_jp|?}}}|{{{sc_code_jp|?}}}}}
| |
− | {{releasesRow|SC|JP|{{{sc_date_jp_1|}}}|¥{{{sc_rrp_jp_1|?}}}|{{{sc_code_jp_1|?}}}|type={{{sc_type_jp_1|}}}}}
| |
− | {{releasesRow|SC|EU|{{{sc_date_eu|}}}|£{{{sc_rrp_uk|?}}}|{{{sc_code_eu|?}}}}}
| |
− | {{releasesRow|SC|UK|{{{sc_date_uk|}}}|£{{{sc_rrp_uk|?}}}|{{{sc_code_uk|?}}}}}
| |
− | {{releasesRow|SC|FR|{{{sc_date_fr|}}}|{{{sc_rrp_fr|?}}}FF|{{{sc_code_fr|?}}}}}
| |
− | {{releasesRow|SC|IT|{{{sc_date_it|}}}|{{{sc_rrp_it|?}}}£|{{{sc_code_it|?}}}}}
| |
− | {{releasesRow|SC|AU|{{{sc_date_au|}}}|${{{sc_rrp_au|?}}}|{{{sc_code_au|?}}}}}
| |
− | {{releasesRow|SC|NZ|{{{sc_date_nz|}}}|${{{sc_rrp_nz|?}}}|{{{sc_code_nz|?}}}}}
| |
− | {{releasesRow|SC|TW|{{{sc_date_tw|}}}|NT${{{sc_rrp_tw|?}}}|{{{sc_code_tw|?}}}}}
| |
− | |-
| |
− | | style="display:none" |
| |
− | <!-- Games -->
| |
− | {{#ifeq: {{#var:type}} | 0 |
| |
| | | |
− | {{#if: {{{sg_date_jp|}}}}}{{{sg_date_jp_c|}}}}}{{{sg_date_eu|}}}}}{{{sg_date_uk|}}}}}{{{sg_date_fr|}}}}}{{{sg_date_it|}}}}}{{{sg_date_us|}}}}}{{{sg_date_au|}}}}}{{{sg_date_nz|}}}}}{{{sg_date_tw|}}}}} | [[SG-1000 games]] | + | {{#forargs: {{#var:sys}}_date_{{#var:rgn}} | typ | dat | |
− | {{#vardefine:year|{{lowest | + | {{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}} |
− | |{{year|{{{sg_date_jp}}}}}
| + | {{#switch:{{#var:sys}}|sg={{#vardefine:sg1000|true}}|sc={{#vardefine:sc3000|true}}|sf={{#vardefine:sf7000|true}}}} |
− | |{{year|{{{sg_date_jp_c}}}}} | + | {{releasesRowPlus |
− | |{{year|{{{sg_date_eu}}}}}
| + | | console={{#switch:{{#var:sys}}|sg=SG|sc|sf=SC}} |
− | |{{year|{{{sg_date_uk}}}}} | + | | region={{uc:{{#var:rgn}}}} |
− | |{{year|{{{sg_date_fr}}}}}
| + | | date={{#var:dat}} |
− | |{{year|{{{sg_date_it}}}}} | + | | price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}} |
− | |{{year|{{{sg_date_us}}}}}
| + | | currency= |
− | |{{year|{{{sg_date_au}}}}} | + | | code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}} |
− | |{{year|{{{sg_date_nz}}}}}
| + | | code2={{{{{#var:sys}}_code2_{{#var:rgn}}{{#var:typ}}|}}} |
− | |{{year|{{{sg_date_tw}}}}} | + | | type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:sys}}|sf={{#vardefine:typ2|[[SF-7000]]}}}}{{#switch:{{#var:typ2}} |
− | }}}} | + | |c=[[Sega Card|Card]] |
− | {{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} SG-1000 games]] }} | + | |t=[[SC-3000 type-in software|Type-in]][[Category:SC-3000 type-in software]] |
− | {{genre2cat|SG-1000}}
| + | |ct=Cartridge |
− | | }}
| + | |{{#if:{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{#var:typ2}}}} |
| + | }} |
| + | | download= |
| + | | rating={{{{{#var:sys}}_rating_{{#var:rgn}}{{#var:typ}}|}}} |
| + | }} |
| + | }} |
| | | |
− | {{#if: {{{sc_date_jp|}}}}}{{{sc_date_eu|}}}}}{{{sc_date_uk|}}}}}{{{sc_date_fr|}}}}}{{{sc_date_it|}}}}}{{{sc_date_au|}}}}}{{{sc_date_nz|}}}}}{{{sc_date_tw|}}}}} | [[SC-3000 games]] | + | {{incvar|j}} |
− | {{#vardefine:year|{{lowest | + | }} |
− | |{{year|{{{sc_date_jp}}}}} | + | {{incvar|i}} |
− | |{{year|{{{sc_date_eu}}}}} | + | }} |
− | |{{year|{{{sc_date_uk}}}}}
| + | {{#switch:{{#var:type}} |
− | |{{year|{{{sc_date_fr}}}}}
| + | | 0={{#if:{{#var:sg1000}}|[[Category:SG-1000 games]]{{ReleasesYearCheck|{{#var:year}}|SG-1000}}{{genre2cat|SG-1000}}}}{{#if:{{#var:sc3000}}{{#var:sf7000}}|[[Category:SC-3000 games]]{{ReleasesYearCheck|{{#var:year}}|SC-3000}}{{genre2cat|SC-3000}}}}{{#if:{{#var:sf7000}}|[[Category:SF-7000 games]]}} |
− | |{{year|{{{sc_date_it}}}}}
| + | | 1=[[Category:SG-1000 accessories]] |
− | |{{year|{{{sc_date_au}}}}}
| + | | 2=[[Category:SG-1000 hardware]] |
− | |{{year|{{{sc_date_nz}}}}}
| + | }} |
− | |{{year|{{{sc_date_tw}}}}}
| |
− | }}}}
| |
− | {{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} SC-3000 games]] }}
| |
− | {{genre2cat|SC-3000}} | |
− | | }}
| |
− | | |
− | | }}
| |
− | | |
− | <!-- Accessories -->
| |
− | {{#ifeq: {{#var:type}} | 1 | [[Category:SG-1000 accessories]] | }} | |
− | | |
− | <!-- Consoles -->
| |
− | {{#ifeq: {{#var:type}} | 2 | [[Category:SG-1000 hardware]] | }}
| |
− | | |
− | |-
| |
− | | style="display:none" |
| |
− | |-
| |
| </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> |