Difference between revisions of "ScanboxTest"

From Sega Retro

 
(37 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div align="center" style="display:inline-block; padding-right:8px; padding-bottom:8px; vertical-align:top; text-align:center; ">{{#ifeq: {{{square}}} | yes | {{#vardefine:coverheight|80}} | {{#vardefine:coverheight|120}} }}{{#vardefine:coverwidth|{{#if:{{{cover|}}}|{{h2w|{{{cover}}}|{{#var:coverheight}}}}|0}}}}{{#vardefine:frontwidth|{{#if:{{{front|}}}|{{h2w|{{{front}}}|{{#var:coverheight}}}}|0}}}}{{#vardefine:backwidth|{{#if:{{{back|}}}|{{h2w|{{{back}}}|{{#var:coverheight}}}}|0}}}}{{#vardefine:spinewidth|{{#if:{{{spine|}}}|{{h2w|{{{spine}}}|{{#var:coverheight}}}}|0}}}}{{#vardefine:spine2width|{{#if:{{{spine2|}}}|{{h2w|{{{spine2}}}|{{#var:coverheight}}}}|0}}}}
+
<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;"
+
{| class="breakout" style="text-align:center; vertical-align:top; min-width:180px; margin:0px;"
! style="border: 0px;" | {{#if: {{{title|}}} | '''{{{title}}}''' | {{#if: {{{console|}}} | '''{{{console}}}, ''' | }} {{#if: {{{region|}}} | '''{{{region}}}''' | }}}}
+
! style="border:0px;" | {{#if: {{{title|}}} | '''{{{title}}}''' | {{#if: {{{console|}}} | '''{{{console}}}, ''' }} {{#if: {{{region|}}} | '''{{{region}}}''' }}}}
 
|-
 
|-
| align="center" style="text-align:center; | <div style="max-width:{{#expr:{{#var:coverwidth}}+{{#var:frontwidth}}+{{#var:backwidth}}+{{#var:spinewidth}}+{{#var:spine2width}}}}px">{{#if: {{{top|}}} | <div style="text-align:right; padding-right:{{#var:spine2width}}px">[[File:{{{top}}}|{{#var:frontwidth}}px]]</div> | }}
+
{{#vardefine:ht|{{#switch:{{{square|no}}}|yes=80|120}}}}
{{#if: {{{cover|}}} | [[File:{{{cover}}}|320x{{#var:coverheight}}px]] | }}{{#if: {{{back|}}} | [[File:{{{back}}}|320x{{#var:coverheight}}px]] | }}{{#if: {{{spine|}}} | [[File:{{{spine}}}|320x{{#var:coverheight}}px]] | }}{{#if: {{{front|}}} | [[File:{{{front}}}|320x{{#var:coverheight}}px]] | }}{{#if: {{{spine2|}}} | [[File:{{{spine2}}}|320x{{#var:coverheight}}px]] | }}{{#if: {{{bottom|}}} | <div style="text-align:right; padding-right:{{#var:spine2width}}px">[[File:{{{bottom}}}|{{#var:frontwidth}}px]]</div> | }}{{#if: {{{cover|}}}{{{front|}}} | <div style="text-align:center">Cover</div> | }}
+
| {{#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|}}}}}}}
</div>
 
 
|-
 
|-
| align="center" style="text-align:center" | {{ScanboxItem|{{{spinecard|no}}}|Spinecard}}{{ScanboxItem|{{{cart|no}}}|Cart}}
+
{{#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}}
</div></includeonly>
+
|
 +
{{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|}}}
 +
|
 +
&#32;
 +
{{!}} 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
 +
|front={{{{{#var:item}}{{#var:j}}|}}}{{{{{#var:item}}{{#var:j}}front|}}}
 +
|back={{{{{#var:item}}{{#var:j}}back|}}}
 +
|top={{{{{#var:item}}{{#var:j}}top|}}}
 +
|width={{#if:{{{{{#var:item}}{{#var:j}}back|}}}|25|50}}|height=50}}</div>}}}}
 +
<!--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|}}}|,&#32;}}}}{{#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>
 +
<!--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
 +
| jewelcase=Jewel case
 +
| {{ucfirst:{{#var:item}}}}
 +
}}{{#if:{{#var:j}}|&#32;#{{#var:j}}}}}}{{#if:{{{{{#var:item}}{{#var:j}}_count|}}}|&#32;×{{{{{#var:item}}{{#var:j}}_count|}}}}}:</div>
 +
<!--Sub-parts list.-->{{#if:{{{{{#var:item}}{{#var:j}}_list|}}}|
 +
{{clear}}
 +
{{{!}} class="mw-collapsible mw-collapsed" style="font-size:10px; margin-bottom:0px; text-align:left;"
 +
!style="text-align:left; background:#ffffdd;"{{!}} ''Parts...''
 +
{{!}}-
 +
{{!}}style="padding:0px;"{{!}}
 +
{{{{{#var:item}}{{#var:j}}_list|}}}
 +
{{!}}}
 +
}}<!--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}}|}}}|}}
 +
}}
 +
{{!}}-
 +
 
 +
{{incvar|j}}
 +
}}
 +
 
 +
{{incvar|i}}
 +
}}
 +
 
 +
|}</div></includeonly><noinclude>
 +
{{ScanboxTest
 +
| console=Mega Drive
 +
| region=JP
 +
| cover=Sor2 md jp cover.jpg
 +
| cover_part=670-2847
 +
| cover_barcode=4974365540913
 +
| cover_dim=270x172
 +
| cover_weight=10
 +
| case_part=1234
 +
| case_dim=182x280x25
 +
| case_weight=150
 +
| cart=SOR2 MD JP Cart.jpg
 +
| cartback=SOR2 MD JP Cart.jpg
 +
| carttop=StreetsofRage2 MD JP CartTop.jpg
 +
| cart_dim=120x100x10
 +
| cart_weight=100
 +
| cart_list={{partlist
 +
| item1=Cart front
 +
| dim1=120x100x5
 +
| weight1=10
 +
| part1=1111
 +
| item2=Cart front
 +
| dim2=120x100x5
 +
| weight2=10
 +
| part2=2222
 +
| item3=Cart label
 +
| dim3=100x80
 +
| part3=3333
 +
| item4=Cart PCB
 +
| dim4=100x90x5
 +
| weight4=50
 +
| part4=4444
 +
}}
 +
| manual=Sor2 md jp manual.pdf
 +
| manual_part=672-1103
 +
| manual_dim=100x150x3
 +
| manual_weight=35
 +
| item1name=thing with a fairly long name
 +
| item1_dim=1000x1000x1000
 +
| item1_weight=10,000
 +
| item1_barcode=1234567890
 +
}}
 +
{{ScanboxTest
 +
| console=Game Gear
 +
| region=EU
 +
| front=Dynamite Headdy GG EU box front.jpg
 +
| cart=Dynamite Headdy GG EU Cart.jpg
 +
| back=Dynamite Headdy GG EU Box Back.jpg
 +
| bottom=Dynamite Headdy GG EU Box Bottom.jpg
 +
| spine=Dynamite Headdy GG EU Box Spine.jpg
 +
| spine2=Dynamite Headdy GG EU Box Spine2.jpg
 +
| top=Dynamite Headdy GG EU Box Top.png
 +
| manual=Dynamite Headdy GG EU Manual.pdf
 +
| box_part=671-4843-50
 +
| box_barcode=4974365625443
 +
| case_dim=80x80x10
 +
| tray_part=6789
 +
| case_count=1
 +
| top_pattern=0010
 +
| bottom_pattern=0010
 +
}}
 +
{{ScanboxTest
 +
| console=Saturn
 +
| region=EU
 +
| disc1=panzersaga_sat_eu_disc1.jpg
 +
| disc1_weight=22
 +
| disc2=panzersaga_sat_eu_disc2.jpg
 +
| manual=PanzerDragoonSagaSaturnEUManual.pdf
 +
| disc3=panzersaga_sat_eu_disc3.jpg
 +
| disc4=panzersaga_sat_eu_disc4.jpg
 +
| case_count=2
 +
| inlay1=Panzersaga sat eu cover12.jpg
 +
| inlay2=Panzersaga sat eu cover12.jpg
 +
}}
 +
{{ScanboxTest
 +
| console=Saturn
 +
| region=JP
 +
| front=SSdHTP Saturn JP Box Front.jpg
 +
| back=SSdHTP Saturn JP Box Back.jpg
 +
| spine=TamagotchiPark_Saturn_JP_Box Spine.jpg
 +
| jewelcasefront=SSdHTP Saturn JP Box Front JewelCase.jpg
 +
| jewelcaseback=SSdHTP Saturn JP Box Front JewelCase.jpg
 +
| inlay=SSdHTP Saturn JP Box Front JewelCase.jpg
 +
| spinecard=SSdHTP Saturn JP Box Front JewelCase.jpg
 +
| square=yes
 +
| disc=TamagotchiPark_Saturn_JP_Disc.jpg
 +
| item1=TamagotchiPark cart.jpg
 +
| item1name=[[Saturn Backup Memory|Backup Memory]]
 +
}}
 +
 
 +
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
 +
 
 +
</noinclude>

Latest revision as of 22:57, 22 March 2020

Mega Drive, JP
Sor2 md jp cover.jpg
270x172mm, 10g
bar: 4974365540913
p/n: 670-2847
Cover:


182x280x25mm, 150g
p/n: 1234
Case:


StreetsofRage2 MD JP CartTop.jpg
SOR2 MD JP Cart.jpg
SOR2 MD JP Cart.jpg
120x100x10mm, 100g
Cart:
Parts...
Cart front 120x100x5mm, 10g
p/n: 1111
Cart front 120x100x5mm, 10g
p/n: 2222
Cart label 100x80mm
p/n: 3333
Cart PCB 100x90x5mm, 50g
p/n: 4444
Sor2 md jp manual.pdf
100x150x3mm, 35g
p/n: 672-1103
Manual:


1000x1000x1000mm, 10,000g
bar: 1234567890
thing with a fairly long name:


Game Gear, EU
Dynamite Headdy GG EU Box Top.png
Dynamite Headdy GG EU Box Back.jpg
Dynamite Headdy GG EU Box Spine.jpg
Dynamite Headdy GG EU box front.jpg
Dynamite Headdy GG EU Box Spine2.jpg
Dynamite Headdy GG EU Box Bottom.jpg
bar: 4974365625443
p/n: 671-4843-50
Box:


p/n: 6789
Tray:


80x80x10mm
Case ×1:


Dynamite Headdy GG EU Cart.jpg
Cart:


Dynamite Headdy GG EU Manual.pdf
Manual:


Saturn, EU
Case ×2:


Panzersaga sat eu disc1.jpg
22g
Disc #1:


Panzersaga sat eu disc2.jpg
Disc #2:


Panzersaga sat eu disc3.jpg
Disc #3:


Panzersaga sat eu disc4.jpg
Disc #4:


PanzerDragoonSagaSaturnEUManual.pdf
Manual:


Panzersaga sat eu cover12.jpg
Inlay #1:


Panzersaga sat eu cover12.jpg
Inlay #2:


Saturn, JP
SSdHTP Saturn JP Box Back.jpg
TamagotchiPark Saturn JP Box Spine.jpg
SSdHTP Saturn JP Box Front.jpg
TamagotchiPark Saturn JP Disc.jpg
Disc:


SSdHTP Saturn JP Box Front JewelCase.jpg
Inlay:


SSdHTP Saturn JP Box Front JewelCase.jpg
SSdHTP Saturn JP Box Front JewelCase.jpg
Jewel case:


SSdHTP Saturn JP Box Front JewelCase.jpg
Spinecard:


TamagotchiPark cart.jpg


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