Difference between revisions of "ScanboxTest"
From Sega Retro
m |
(loops) |
||
Line 1: | Line 1: | ||
<includeonly><div align="center" style="display:inline-block; padding-right:8px; padding-bottom:8px; vertical-align:top; text-align:center;"> | <includeonly><div align="center" style="display:inline-block; padding-right:8px; padding-bottom:8px; vertical-align:top; text-align:center;"> | ||
+ | {| class="breakout" style="text-align:center; vertical-align:top;" | ||
+ | ! colspan="2" style="border:0px;" | {{#if: {{{title|}}} | '''{{{title}}}''' | {{#if: {{{console|}}} | '''{{{console}}}, ''' }} {{#if: {{{region|}}} | '''{{{region}}}''' }}}} | ||
+ | |- | ||
+ | |||
+ | {{#ifeq: {{{square}}} | yes | {{#vardefine:ht|80}} | {{#vardefine:ht|120}} }} | ||
+ | {{#if: {{{cover|}}} | | ||
+ | {{!}}colspan="2" style="text-align:center;"{{!}} [[File:{{{cover}}}|x{{#var:ht}}px]] | ||
+ | {{!}}- | ||
+ | {{!}}colspan="2" style="font-size:70%; padding:0px 8px 0px 8px;"{{!}} | ||
+ | <div style="float:right;"> | ||
+ | <div>{{{cover_dim|?}}}mm</div> | ||
+ | <div>P/N: {{{cover_part|?}}}</div> | ||
+ | {{#if: {{{cover_barcode|}}} | <div>Barcode: {{{cover_barcode}}}</div> }} | ||
+ | </div> | ||
+ | '''Cover:''' | ||
+ | }} | ||
+ | |||
+ | {{#if: {{{front|}}}{{{back|}}}{{{spine|}}}{{{spine2|}}}{{{top|}}}{{{bottom|}}} | | ||
+ | {{#if: {{{back|}}} | {{#vardefine:w1|{{h2w|{{{back}}}|{{#var:ht}}}}}} | {{#vardefine:w1|0}} }} | ||
+ | {{#if: {{{spine|}}} | {{#vardefine:w2|{{h2w|{{{spine}}}|{{#var:ht}}}}}} | {{#vardefine:w2|0}} }} | ||
+ | {{#if: {{{front|}}} | {{#vardefine:w3|{{h2w|{{{front}}}|{{#var:ht}}}}}} | {{#vardefine:w3|0}} }} | ||
+ | {{#if: {{{spine2|}}} | {{#vardefine:w4|{{h2w|{{{spine2}}}|{{#var:ht}}}}}} | {{#vardefine:w4|0}} }} | ||
+ | {{#switch: {{{top_pattern}}} | ||
+ | | 1111={{#vardefine:tw|{{#expr:{{#var:w1}}+{{#var:w2}}+{{#var:w3}}+{{#var:w4}}}}}}{{#vardefine:tl|0}} | ||
+ | | 1110={{#vardefine:tw|{{#expr:{{#var:w1}}+{{#var:w2}}+{{#var:w3}}}}}}{{#vardefine:tl|0}} | ||
+ | | 0111={{#vardefine:tw|{{#expr:{{#var:w2}}+{{#var:w3}}+{{#var:w4}}}}}}{{#vardefine:tl|{{#var:w1}}}} | ||
+ | | 0011={{#vardefine:tw|{{#expr:{{#var:w3}}+{{#var:w4}}}}}}{{#vardefine:tl|{{#expr:{{#var:w1}}+{{#var:w2}}}}}} | ||
+ | | 0110={{#vardefine:tw|{{#expr:{{#var:w2}}+{{#var:w3}}}}}}{{#vardefine:tl|{{#var:w1}}}} | ||
+ | | 1100={{#vardefine:tw|{{#expr:{{#var:w1}}+{{#var:w2}}}}}}{{#vardefine:tl|0}} | ||
+ | | {{#vardefine:tw|{{#var:w3}}}}{{#vardefine:tl|{{#expr:{{#var:w1}}+{{#var:w2}}}}}} | ||
+ | }} | ||
+ | {{#switch: {{{bottom_pattern}}} | ||
+ | | 1111={{#vardefine:bw|{{#expr:{{#var:w1}}+{{#var:w2}}+{{#var:w3}}+{{#var:w4}}}}}}{{#vardefine:bl|0}} | ||
+ | | 1110={{#vardefine:bw|{{#expr:{{#var:w1}}+{{#var:w2}}+{{#var:w3}}}}}}{{#vardefine:bl|0}} | ||
+ | | 0111={{#vardefine:bw|{{#expr:{{#var:w2}}+{{#var:w3}}+{{#var:w4}}}}}}{{#vardefine:bl|{{#var:w1}}}} | ||
+ | | 0011={{#vardefine:bw|{{#expr:{{#var:w3}}+{{#var:w4}}}}}}{{#vardefine:bl|{{#expr:{{#var:w1}}+{{#var:w2}}}}}} | ||
+ | | 0110={{#vardefine:bw|{{#expr:{{#var:w2}}+{{#var:w3}}}}}}{{#vardefine:bl|{{#var:w1}}}} | ||
+ | | 1100={{#vardefine:bw|{{#expr:{{#var:w1}}+{{#var:w2}}}}}}{{#vardefine:bl|0}} | ||
+ | | {{#vardefine:bw|{{#var:w3}}}}{{#vardefine:bl|{{#expr:{{#var:w1}}+{{#var:w2}}}}}} | ||
+ | }} | ||
+ | {{!}}colspan="2" style="text-align:center;"{{!}} {{#if: {{{top|}}} |<div style="text-align:left; line-height:0px; margin-left:{{#var:tl}}px;">[[File:{{{top}}}|{{#var:tw}}px]]</div>}}{{#if: {{{back|}}} |[[File:{{{back}}}|x{{#var:ht}}px]]}}{{#if: {{{spine|}}} |[[File:{{{spine}}}|x{{#var:ht}}px]]}}{{#if: {{{front|}}} |[[File:{{{front}}}|x{{#var:ht}}px]]}}{{#if: {{{spine2|}}} |[[File:{{{spine2}}}|x{{#var:ht}}px]]}}{{#if: {{{bottom|}}} |<div style="text-align:left; line-height:0px; margin-left:{{#var:bl}}px;">[[File:{{{bottom}}}|{{#var:bw}}px]]</div>}} | ||
+ | {{!}}- | ||
+ | {{!}}colspan="2" style="font-size:70%; padding:0px 8px 0px 8px;"{{!}} | ||
+ | <div style="float:right;"> | ||
+ | <div>{{{box_dim|?}}}mm, {{{box_weight|?}}}g</div> | ||
+ | <div>P/N: {{{box_part|?}}}</div> | ||
+ | {{#if: {{{box_barcode|}}} | <div>Barcode: {{{box_barcode}}}</div> }} | ||
+ | </div> | ||
+ | '''Box:''' | ||
+ | }} | ||
+ | |||
+ | {{#forargs: | ||
+ | | param | ||
+ | | info | ||
+ | | {{#if: {{#pos:covertopbottomspine2consoleregionfrontbacksquare|{{#var:param}}}}{{#pos:{{#var:param}}|_part}}{{#pos:{{#var:param}}|_dim}}{{#pos:{{#var:param}}|_weight}}{{#pos:{{#var:param}}|top}}{{#pos:{{#var:param}}|bottom}}{{#pos:{{#var:param}}|back}}{{#pos:{{#var:param}}|name}}{{#pos:{{#var:param}}|front}}{{#pos:{{#var:param}}|_count}}{{#pos:{{#var:param}}|_barcode}} | |   | ||
+ | {{!}}- | ||
+ | {{!}}style="padding:2px 0px 2px 0px; text-align:center; width:50px;"{{!}} <div class="scanbox">[[File:{{#var:info}}|50x50px]]</div> {{!}}{{!}}style="font-size:70%; padding:0px 8px 0px 8px; text-align:left;"{{!}} | ||
+ | <div style="float:right;"> | ||
+ | {{#if: {{{{{#var:param}}_dim|}}}{{{{{#var:param}}_weight|}}} | <div>{{{{{#var:param}}_dim|}}}mm, {{{{{#var:param}}_weight|}}}g</div> }} | ||
+ | {{#if: {{{{{#var:param}}_part|}}} | <div>P/N: {{{{{#var:param}}_part|}}}</div> }} | ||
+ | {{#if: {{{{{#var:param}}_barcode|}}} | <div>Barcode: {{{{{#var:param}}_barcode|}}}</div> }} | ||
+ | </div> | ||
+ | '''{{#switch: {{#var:param}} | ||
+ | |disc1|disc2|disc3|disc4|disc5|disc6|disc7|disc8={{#replace:{{#var:param}}|disc|Disc<nowiki> </nowiki>}} | ||
+ | |disk1|disk2|disk3|disk4|disk5|disk6|disk7|disk8={{#replace:{{#var:param}}|disk|Disk<nowiki> </nowiki>}} | ||
+ | |item1|item2|item3|item4|item5|item6|item7|item8={{{{{#var:param}}name|}}} | ||
+ | |{{ucfirst:{{#var:param}}}}}}:''' | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | |}</div> | ||
+ | <div align="center" style="display:inline-block; padding-right:8px; padding-bottom:8px; vertical-align:top; text-align:center;"> | ||
{| class="breakout" style="text-align:center; vertical-align:top;" | {| class="breakout" style="text-align:center; vertical-align:top;" | ||
! colspan="2" style="border:0px;" | {{#if: {{{title|}}} | '''{{{title}}}''' | {{#if: {{{console|}}} | '''{{{console}}}, ''' }} {{#if: {{{region|}}} | '''{{{region}}}''' }}}} | ! colspan="2" style="border:0px;" | {{#if: {{{title|}}} | '''{{{title}}}''' | {{#if: {{{console|}}} | '''{{{console}}}, ''' }} {{#if: {{{region|}}} | '''{{{region}}}''' }}}} | ||
Line 229: | Line 301: | ||
| tray_part=6789 | | tray_part=6789 | ||
| case_count=1 | | case_count=1 | ||
+ | | top_pattern=0010 | ||
+ | | bottom_pattern=0010 | ||
}} | }} | ||
{{ScanboxTest | {{ScanboxTest |
Revision as of 21:38, 23 September 2017
Mega Drive, JP | |
---|---|
270x172mm
P/N: 670-2847
Barcode: 4974365540913
Cover:
| |
120x100x10mm, 100g
Cart: | |
100x150x3mm, 35g
P/N: 672-1103
Manual: |
Saturn, JP | |
---|---|
Box:
?mm, ?g
P/N: ?
| |
Subcover:
| |
Inlay:
Back: ?mm
P/N: ?
| |
Spinecard:
?mm
P/N: ?
| |
Disc:
?mm, ?g
|
Stuff:
- cover, case (Mega Drive, Master System, most modern systems)
- front/manual, back, jewel case, inlays, spinecard (Mega-CD, Saturn, Dreamcast)
- box, tray (Game Gear)
- cart; front, back, label, PCB
- disc, more discs, audio CD, bonus discs
- manual, map, poster, regcard, flyer, artbook, guide