Difference between revisions of "ScanboxTest"
From Sega Retro
Line 3: | Line 3: | ||
! style="border:0px;" | {{#if: {{{title|}}} | '''{{{title}}}''' | {{#if: {{{console|}}} | '''{{{console}}}, ''' }} {{#if: {{{region|}}} | '''{{{region}}}''' }}}} | ! style="border:0px;" | {{#if: {{{title|}}} | '''{{{title}}}''' | {{#if: {{{console|}}} | '''{{{console}}}, ''' }} {{#if: {{{region|}}} | '''{{{region}}}''' }}}} | ||
|- | |- | ||
− | {{# | + | {{#vardefine:ht|{{#switch:{{{square|no}}}|yes=80|120}}}} |
− | | {{#if: {{{cover|}}} | [[File:{{{cover}}}|x{{#var:ht}}px]] }}{{#if: {{{front|}}}{{{back|}}}{{{top|}}}{{{bottom|}}}{{{spine|}}}{{{spine2|}}} | {{ortho|front={{{front|}}}|back={{{back|}}}|top={{{top|}}}|bottom={{{bottom|}}}|left={{{spine|}}}|right={{{spine2|}}}|height={{#var:ht}}|top_pattern={{{top_pattern|}}}|bottom_pattern={{{bottom_pattern|}}}}}}} | + | | {{#if:{{{cover|}}}|[[File:{{{cover|}}}|x{{#var:ht}}px]]}}{{#if:{{{front|}}}{{{back|}}}{{{top|}}}{{{bottom|}}}{{{spine|}}}{{{spine2|}}} | {{ortho|front={{{front|}}}|back={{{back|}}}|top={{{top|}}}|bottom={{{bottom|}}}|left={{{spine|}}}|right={{{spine2|}}}|height={{#var:ht}}|top_pattern={{{top_pattern|}}}|bottom_pattern={{{bottom_pattern|}}}}}}} |
|- | |- | ||
{{#vardefine:i|0}}{{#vardefine:itemlist|cover,box,tray,case,cart,disc,disk,manual,inlay,jewelcase,spinecard,map,poster,regcard,artbook,item}}{{#while: | {{#vardefine:i|0}}{{#vardefine:itemlist|cover,box,tray,case,cart,disc,disk,manual,inlay,jewelcase,spinecard,map,poster,regcard,artbook,item}}{{#while: | ||
| {{#vardefine:item|{{#explode:{{#var:itemlist}}|,|{{#var:i}}}}}}{{#var:item}} | | {{#vardefine:item|{{#explode:{{#var:itemlist}}|,|{{#var:i}}}}}}{{#var:item}} | ||
| | | | ||
− | {{#if: {{# | + | {{clearvar|j}} |
− | + | {{#if:{{{{{#var:item}}|}}}{{{{{#var:item}}_weight|}}}{{{{{#var:item}}_dim|}}}{{{{{#var:item}}_barcode|}}}{{{{{#var:item}}_part|}}}{{{{{#var:item}}_count|}}}{{{{{#var:item}}front|}}}{{{{{#var:item}}back|}}}||{{incvar|j}}}} | |
− | + | {{#while:|{{{{{#var:item}}{{#var:j}}|}}}{{{{{#var:item}}{{#var:j}}_weight|}}}{{{{{#var:item}}{{#var:j}}_dim|}}}{{{{{#var:item}}{{#var:j}}_barcode|}}}{{{{{#var:item}}{{#var:j}}_part|}}}{{{{{#var:item}}{{#var:j}}_count|}}}{{{{{#var:item}}{{#var:j}}front|}}}{{{{{#var:item}}{{#var:j}}back|}}} | |
+ | | | ||
  |   | ||
{{!}} style="padding:0px; border-top:solid 1px grey;" {{!}} | {{!}} style="padding:0px; border-top:solid 1px grey;" {{!}} | ||
− | <!-- | + | <!--thumbnail-->{{#switch:{{#var:item}}|cover|box=|{{#if:{{{{{#var:item}}{{#var:j}}|}}}{{{{{#var:item}}{{#var:j}}front|}}}|<div class="scanbox" style="float:left; width:50px; margin-right:4px; margin-bottom:4px;">{{ortho |
− | {{#if:{{{{{#var:item}}{{#var:j}}|}}}{{{{{#var:item}}{{#var:j}}front|}}}|<div class="scanbox" style="float:left; width:50px; margin-right:4px; margin-bottom:4px;">{{ortho | ||
|front={{{{{#var:item}}{{#var:j}}|}}}{{{{{#var:item}}{{#var:j}}front|}}} | |front={{{{{#var:item}}{{#var:j}}|}}}{{{{{#var:item}}{{#var:j}}front|}}} | ||
|back={{{{{#var:item}}{{#var:j}}back|}}} | |back={{{{{#var:item}}{{#var:j}}back|}}} | ||
|top={{{{{#var:item}}{{#var:j}}top|}}} | |top={{{{{#var:item}}{{#var:j}}top|}}} | ||
− | |width={{#if:{{{{{#var:item}}{{#var:j}}back|}}}|25|50}}|height=50}}</div>}} | + | |width={{#if:{{{{{#var:item}}{{#var:j}}back|}}}|25|50}}|height=50}}</div>}}}} |
− | }} | ||
<!--Dimensions/weight/barcode/partnum.--><div style="float:right; text-align:right;"> | <!--Dimensions/weight/barcode/partnum.--><div style="float:right; text-align:right;"> | ||
− | {{#if:{{{{{#var:item}}{{#var:j}}_dim|}}}{{{{{#var:item}}{{#var:j}}_weight|}}}|<div style="font-size:10px;">{{#if:{{{{{#var:item}}{{#var:j}}_dim|}}}|{{{{{#var:item}}{{#var:j}}_dim|}}}mm}}{{#if:{{{{{#var:item}}{{#var:j}}_dim|}}}|{{#if:{{{{{#var:item}}{{#var:j}}_weight|}}}|, }}}}{{#if:{{{{{#var:item}}{{#var:j}}_weight|}}}|{{{{{#var:item}}{{#var:j}}_weight|}}}g}}</div>}}{{#if:{{{{{#var:item}}{{#var:j}}_barcode|}}}|<div style="font-size:10px;">bar: {{{{{#var:item}}{{#var:j}}_barcode|}}}</div>}}{{#if:{{{{{#var:item}}{{#var:j}}_part|}}}|<div style="font-size:10px;">p/n: {{{{{#var:item}}{{#var:j}}_part|}}}</div>}} | + | {{#if:{{{{{#var:item}}{{#var:j}}_dim|}}}{{{{{#var:item}}{{#var:j}}_weight|}}}|<div style="font-size:10px;">{{#if:{{{{{#var:item}}{{#var:j}}_dim|}}}|{{{{{#var:item}}{{#var:j}}_dim|}}}mm}}{{#if:{{{{{#var:item}}{{#var:j}}_dim|}}}|{{#if:{{{{{#var:item}}{{#var:j}}_weight|}}}|, }}}}{{#if:{{{{{#var:item}}{{#var:j}}_weight|}}}|{{{{{#var:item}}{{#var:j}}_weight|}}}g}}</div>}}{{#if:{{{{{#var:item}}{{#var:j}}_barcode|}}}|<div style="font-size:10px;">bar: {{{{{#var:item}}{{#var:j}}_barcode|}}}</div>}}{{#if:{{{{{#var:item}}{{#var:j}}_part|}}}|<div style="font-size:10px;">p/n: {{{{{#var:item}}{{#var:j}}_part|}}}</div>}}</div> |
− | </div | ||
<!--Name.--><div style="font-size:10px; font-weight:bold;">{{#if:{{{{{#var:item}}{{#var:j}}name|}}}|{{{{{#var:item}}{{#var:j}}name|}}}|{{#switch:{{#var:item}}{{#var:j}} | <!--Name.--><div style="font-size:10px; font-weight:bold;">{{#if:{{{{{#var:item}}{{#var:j}}name|}}}|{{{{{#var:item}}{{#var:j}}name|}}}|{{#switch:{{#var:item}}{{#var:j}} | ||
| regcard=Reg. card | | regcard=Reg. card | ||
| jewelcase=Jewel case | | jewelcase=Jewel case | ||
| {{ucfirst:{{#var:item}}}} | | {{ucfirst:{{#var:item}}}} | ||
− | }}{{#if:{{#var:j}}| #{{#var:j}}}}}}{{#if:{{{{{#var:item}}{{#var:j}}_count|}}}| ×{{{{{#var:item}}{{#var:j}}_count|}}}}}:</div | + | }}{{#if:{{#var:j}}| #{{#var:j}}}}}}{{#if:{{{{{#var:item}}{{#var:j}}_count|}}}| ×{{{{{#var:item}}{{#var:j}}_count|}}}}}:</div> |
<!--Sub-parts list.-->{{#if:{{{{{#var:item}}{{#var:j}}_list|}}}| | <!--Sub-parts list.-->{{#if:{{{{{#var:item}}{{#var:j}}_list|}}}| | ||
{{clear}} | {{clear}} | ||
Line 38: | Line 36: | ||
{{!}}} | {{!}}} | ||
}}<!--Sub-parts list end.--> | }}<!--Sub-parts list end.--> | ||
+ | {{PartNumberStore | ||
+ | | number={{{{{#var:item}}{{#var:j}}_part|}}} | ||
+ | | product={{PAGENAME}} | ||
+ | | format={{{console|}}} | ||
+ | | partdesc={{#if:{{{{{#var:item}}{{#var:j}}name|}}}|{{{{{#var:item}}{{#var:j}}name|}}}|{{#var:item}}}} | ||
+ | | fileref={{#if:{{{{{#var:item}}{{#var:j}}|}}}|{{{{{#var:item}}{{#var:j}}|}}}|}} | ||
+ | }} | ||
{{!}}- | {{!}}- | ||
Line 43: | Line 48: | ||
}} | }} | ||
+ | {{incvar|i}} | ||
}} | }} | ||
− | |||
− | |||
|}</div></includeonly><noinclude> | |}</div></includeonly><noinclude> | ||
{{ScanboxTest | {{ScanboxTest |
Latest revision as of 22:57, 22 March 2020
Game Gear, EU |
---|
bar: 4974365625443 p/n: 671-4843-50 Box:
|
p/n: 6789 Tray:
|
80x80x10mm Case ×1:
|
Cart:
|
Manual:
|
Saturn, JP |
---|
Disc:
|
Inlay:
|
Jewel case:
|
Spinecard:
|
|
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