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"><!-- top of box start -->{{#if: {{{top|}}} | <div style="text-align:right; line-height:0px; padding-right:{{#var:topalign}}px">[[File:{{{top}}}|{{#var:topwidth}}px]]</div> | }}<!-- top of box end -->
+
| 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:topalign}}px">{{rotate|[[File:{{{top}}}|{{#var:topwidth}}px]]|angle={{#if:{{{rotatetop|}}}|180|0}}}}</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]] | }}}}<!-- bottom of box start -->{{#if: {{{bottom|}}} | <div style="text-align:right; line-height:0px; padding-right:{{#var:bottomalign}}px">[[File:{{{bottom}}}|{{#var:bottomwidth}}px]]</div> | }}<!-- bottom of box end -->{{#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:bottomalign}}px">{{rotate|[[File:{{{bottom}}}|{{#var:bottomwidth}}px]]|angle={{#if:{{{rotatebottom|}}}|180|0}}}}</div> | }}<!-- bottom of box end -->{{#if: {{{cover|}}}{{{front|}}} | <div style="text-align:center">Cover</div> | }}
 
</div>
 
</div>
 
|-
 
|-

Revision as of 19:24, 20 May 2015