Difference between revisions of "ScanboxTest"

From Sega Retro

m
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="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">{{#if: {{{top|}}} | <div style="text-align:right; line-height:0px; padding-right:{{#var:spine2width}}px">[[File:{{{top}}}|{{#var:frontwidth}}px]]</div> | }}
 
{{#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> | }}
 
{{#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> | }}
 
</div>
 
</div>
 
|-
 
|-
| align="center" style="text-align:center" | {{ScanboxItem|{{{spinecard|no}}}|Spinecard}}{{ScanboxItem|{{{cart|no}}}|Cart|top={{{carttop|}}}|back={{{cartback|}}}}}{{ScanboxItem|{{{disc|no}}}|Disc}}{{ScanboxItem|{{{disk|no}}}|Disk}}{{ScanboxItem|{{{manual|no}}}|Manual}}
+
| align="center" style="text-align:center" | {{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|{{{disk|no}}}|Disk|back={{{diskback|}}}}}{{ScanboxItem|{{{manual|no}}}|Manual}}{{ScanboxItem|{{{booklet|no}}}|Booklet}}{{ScanboxItem|{{{regcard|no}}}|Reg Card}}
 
|}
 
|}
 
</div></includeonly>
 
</div></includeonly>

Revision as of 21:27, 13 February 2015