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}}}''' | }}}}
 
|-
 
|-
| align="center" style="text-align:center;" | <div style="margin:auto; max-width:{{#expr:{{#var:coverwidth}}+{{#var:frontwidth}}+{{#var:backwidth}}+{{#var:spinewidth}}+{{#var:spine2width}}+{{#var:nospinewidth}}}}px">{{#if: {{{top|}}} | <div style="text-align:right; line-height:0px; padding-right:{{#var:spine2width}}px">[[File:{{{top}}}|{{#var:frontwidth}}px]]</div> | }}
+
| align="center" style="text-align:center;" | <div style="margin:auto; max-width:{{#expr:{{#var:coverwidth}}+{{#var:frontwidth}}+{{#var:backwidth}}+{{#var:spinewidth}}+{{#var:spine2width}}+{{#var:nospinewidth}}}}px"><!-- top of box start -->{{#if: {{{top|}}} | <div style="text-align:right; line-height:0px; padding-right:{{#var:spine2width}}px">[[File:{{{top}}}|{{#var:frontwidth}}px]]</div> | }}<!-- top of box end -->
{{nobr|{{#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: {{{spinemissing|}}} | {{#if: {{{square|}}} | [[File:Nospine-small.png]] | [[File:Nospine.png]] }} | }}{{#if: {{{front|}}} | [[File:{{{front}}}|320x{{#var:coverheight}}px]] | }}{{#if: {{{spine2|}}} | [[File:{{{spine2}}}|320x{{#var:coverheight}}px]] | }}}}{{#if: {{{bottom|}}} | <div style="text-align:right; line-height:0px; padding-right:{{#var:spine2width}}px">[[File:{{{bottom}}}|{{#var:frontwidth}}px]]</div> | }}{{#if: {{{cover|}}}{{{front|}}} | <div style="text-align:center">Cover</div> | }}
+
{{nobr|{{#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: {{{spinemissing|}}} | {{#if: {{{square|}}} | [[File:Nospine-small.png]] | [[File:Nospine.png]] }} | }}{{#if: {{{front|}}} | [[File:{{{front}}}|320x{{#var:coverheight}}px]] | }}{{#if: {{{spine2|}}} | [[File:{{{spine2}}}|320x{{#var:coverheight}}px]] | }}}}<!-- bottom of box start -->{{#if: {{{bottom|}}} | <div style="text-align:right; line-height:0px; padding-right:{{#var:spine2width}}px">[[File:{{{bottom}}}|{{#var:frontwidth}}px]]</div> | }}<!-- bottom of box end -->{{#if: {{{cover|}}}{{{front|}}} | <div style="text-align:center">Cover</div> | }}
 
</div>
 
</div>
 
|-
 
|-
| align="center" style="text-align:center;" | <div style="max-width:320px">{{ScanboxItem|{{{spinecard|no}}}|Spinecard}}{{ScanboxItem|{{{cart|no}}}|Cart|top={{{carttop|}}}|back={{{cartback|}}}}}{{ScanboxItem|{{{card|no}}}|Card|back={{{cardback|}}}}}{{ScanboxItem|{{{disc|no}}}|Disc|back={{{discback|}}}}}{{ScanboxItem|{{{disc1|no}}}|Disc 1|back={{{disc1back|}}}}}{{ScanboxItem|{{{disc2|no}}}|Disc 2|back={{{disc2back|}}}}}{{ScanboxItem|{{{disc3|no}}}|Disc 3|back={{{disc3back|}}}}}{{ScanboxItem|{{{disc4|no}}}|Disc 4|back={{{disc4back|}}}}}{{ScanboxItem|{{{disk|no}}}|Disk|back={{{diskback|}}}}}{{ScanboxItem|{{{manual|no}}}|Manual}}{{ScanboxItem|{{{booklet|no}}}|Booklet}}{{#if:{{{jewelcasefront|}}}{{{jewelcaseback|}}}|{{ScanboxItem|{{{jewelcasefront|no}}}|Jewel Case|back={{{jewelcaseback|}}}}}|}}{{ScanboxItem|{{{inlay|no}}}|Inlay|back={{{inlayfront|}}}}}{{ScanboxItem|{{{regcard|no}}}|Reg Card}}{{ScanboxItem|{{{item1|no}}}|{{{item1name|?}}}}}{{ScanboxItem|{{{item2|no}}}|{{{item2name|?}}}}}{{ScanboxItem|{{{item3|no}}}|{{{item3name|?}}}}}{{ScanboxItem|{{{item4|no}}}|{{{item4name|?}}}}}{{ScanboxItem|{{{item5|no}}}|{{{item5name|?}}}}}{{ScanboxItem|{{{item6|no}}}|{{{item6name|?}}}}}{{ScanboxItem|{{{item7|no}}}|{{{item7name|?}}}}}{{ScanboxItem|{{{item8|no}}}|{{{item8name|?}}}}}</div>
+
| align="center" style="text-align:center;" | <div style="max-width:320px">{{ScanboxItem|{{{spinecard|no}}}|Spinecard}}{{ScanboxItem|{{{cart|no}}}|Cart|top={{{carttop|}}}|back={{{cartback|}}}}}{{ScanboxItem|{{{card|no}}}|Card|back={{{cardback|}}}}}{{ScanboxItem|{{{cassette|no}}}|Cassette|back={{{cassetteback|}}}}}{{ScanboxItem|{{{disc|no}}}|Disc|back={{{discback|}}}}}{{ScanboxItem|{{{disc1|no}}}|Disc 1|back={{{disc1back|}}}}}{{ScanboxItem|{{{disc2|no}}}|Disc 2|back={{{disc2back|}}}}}{{ScanboxItem|{{{disc3|no}}}|Disc 3|back={{{disc3back|}}}}}{{ScanboxItem|{{{disc4|no}}}|Disc 4|back={{{disc4back|}}}}}{{ScanboxItem|{{{disk|no}}}|Disk|back={{{diskback|}}}}}{{ScanboxItem|{{{disk1|no}}}|Disk 1|back={{{disk1back|}}}}}{{ScanboxItem|{{{disk2|no}}}|Disk 2|back={{{disk2back|}}}}}{{ScanboxItem|{{{disk3|no}}}|Disk 3|back={{{disk3back|}}}}}{{ScanboxItem|{{{disk4|no}}}|Disk 4|back={{{disk4back|}}}}}{{ScanboxItem|{{{manual|no}}}|Manual}}{{ScanboxItem|{{{booklet|no}}}|Booklet}}{{#if:{{{jewelcasefront|}}}{{{jewelcaseback|}}}|{{ScanboxItem|{{{jewelcasefront|no}}}|Jewel Case|back={{{jewelcaseback|}}}|width=200}}|}}{{ScanboxItem|{{{inlay|no}}}|Inlay|back={{{inlayfront|}}}|width=200}}{{ScanboxItem|{{{regcard|no}}}|Reg Card}}{{ScanboxItem|{{{item1|no}}}|{{{item1name|?}}}}}{{ScanboxItem|{{{item2|no}}}|{{{item2name|?}}}}}{{ScanboxItem|{{{item3|no}}}|{{{item3name|?}}}}}{{ScanboxItem|{{{item4|no}}}|{{{item4name|?}}}}}{{ScanboxItem|{{{item5|no}}}|{{{item5name|?}}}}}{{ScanboxItem|{{{item6|no}}}|{{{item6name|?}}}}}{{ScanboxItem|{{{item7|no}}}|{{{item7name|?}}}}}{{ScanboxItem|{{{item8|no}}}|{{{item8name|?}}}}}</div>
 
|}{{#if: {{{item1|}}}{{{item2|}}} | [[Category:Games with extra scans]] | }}
 
|}{{#if: {{{item1|}}}{{{item2|}}} | [[Category:Games with extra scans]] | }}
 
</div></includeonly>
 
</div></includeonly>

Revision as of 13:22, 1 May 2015